isciences / exactextract

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

Custom Python functions should receive NODATA pixels #136

Closed dbaston closed 2 weeks ago

dbaston commented 1 month 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.