🌐 AI搜索 & 代理 主页
Skip to content

EWA Resampler hardcodes fill value to NaN #689

@djhoese

Description

@djhoese

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:

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions