bucket_sum
resampler fails due to unexpected fill_value
kwarg
#2805
Labels
bucket_sum
resampler fails due to unexpected fill_value
kwarg
#2805
Describe the bug
The
bucket_sum
resampler fails due to afill_value
argumentsatpy/satpy/resample.py
Lines 1067 to 1068 in 233f698
that is then passed as kwarg to pyresample here:
satpy/satpy/resample.py
Lines 916 to 921 in 233f698
and is then not accepted inside pyresample: https://github.com/pytroll/pyresample/blob/4e18999cb76c3404d0f5ec3df04b3350e56f0612/pyresample/bucket/__init__.py#L205
To Reproduce
Expected behavior
Working resampler
Actual results
Additional Information
There are two solutions:
fill_value
argumentfill_value
, as already done for the other bucket resamplers.I would likely go for the second option as it is a useful feature for pyresample and keeps a consistent interface in satpy.
The text was updated successfully, but these errors were encountered: