makepath / xarray-spatial

Raster-based Spatial Analytics for Python
https://xarray-spatial.readthedocs.io/
MIT License
828 stars 84 forks source link

classify.binary(): handle NaN values #757

Closed thuydotm closed 1 year ago

thuydotm commented 1 year ago

classify.binary() currently classified NaNs as 0s. We should keep NaNs as NaNs though.