makepath / xarray-spatial

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

Test all functions to ensure values of input params are preserved #753

Closed thuydotm closed 1 year ago

thuydotm commented 1 year ago

Related to https://github.com/makepath/xarray-spatial/issues/751. As xarray-spatial functions often take DataArray(s) as input param(s), and also return a new DataArray(s) as output, we should test all our functions to make sure that input params are not changed after running a function.