pysheds
pysheds copied to clipboard
Fix nodata type checking for can cast with numpy >2 by putting the nodata in the correct type
All nodata was put into a numpy type. This builds on the work of @joelrahman.
@mdbartos I've been testing this and confirm this is working well.
That being said @ashleymedin , shouldn't the setup.py be updated as well to spec the numpy >= 2.0 version?
Yes @tgrandje I should have added that. Fixed now.
Thanks, I'm going to take a look at the conflict and try to resolve and get the unit tests running.