pangeo-data / scikit-downscale

Statistical climate downscaling in Python
https://scikit-downscale.readthedocs.io/en/latest/
Apache License 2.0
185 stars 47 forks source link

Switch np.object to object #138

Open riley-brady opened 1 year ago

riley-brady commented 1 year ago

Following https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated to silence a bunch of deprecation warnings.

Currently this will spill a bunch of

AttributeError: module 'numpy' has no attribute 'object'

since it is being applied pointwise.