You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the unit tests python setup.py test with fairly recent versions of most of satpy's dependencies there are a lot of deprecation warnings. We should probably fix these as soon as possible. Some are my own fault:
/Users/davidh/repos/git/trollimage/trollimage/xrimage.py:400: DeprecationWarning: '_finalize' is deprecated, use 'finalize' instead.
DeprecationWarning)
But others exist and show up a lot:
/Users/davidh/repos/git/satpy/satpy/composites/viirs.py:158: PendingDeprecationWarning: xarray.ufuncs will be deprecated when xarray no longer supports versions of numpy older than v1.13. Instead, use numpy ufuncs directly.
suna = xu.rad2deg(suna)
The text was updated successfully, but these errors were encountered:
_Doing this as part of my Hacktoberfest contribution_
## Why ##
Trying to address Issue pytroll#466
## How ##
The error message clearly recommends a path to stability: switch the same functions to the `numpy` equivalents.
## Comments ##
The only other reference to `xarray` are `xr.DataArray`. I did not convert them to `numpy` equivalent because I didn’t mention that those would be deprecated (and that would probably cascade a _lot_ more unwanted effects.
When running the unit tests
python setup.py test
with fairly recent versions of most of satpy's dependencies there are a lot of deprecation warnings. We should probably fix these as soon as possible. Some are my own fault:But others exist and show up a lot:
The text was updated successfully, but these errors were encountered: