isciences / exactextract

Fast and accurate raster zonal statistics
Apache License 2.0
260 stars 33 forks source link

Custom Python functions should receive NODATA pixels #136

Closed dbaston closed 2 months ago

dbaston commented 3 months ago

Currently, Python operations are invoked with a ndarray that has NODATA values scrubbed out. It would be preferable for these functions to be called with a masked array so the user can determine their own handling of NODATA values.