-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
Description
A colleague tried to use EWA resampling on regular (non-dask) numpy arrays that were integers. She got errors about NaN not being able to be converted to an integer so she then specified the fill value with fill=0 and still got the same error. Turns out I have the fill value hardcoded to NaN:
pyresample/pyresample/ewa/ewa.py
Lines 170 to 171 in 1f4c7fb
| results = _fornav.fornav_wrapper(cols, rows, data_in, out, | |
| np.nan, np.nan, rows_per_scan, |
This means integer data isn't actually handled. I need to create some tests for this to prove that there isn't some other reason I hardcoded this.