-
Notifications
You must be signed in to change notification settings - Fork 297
Closed
Description
📰 Custom Issue
A couple of DeprecationWarning
s I've spotted that should probably be addressed at some point. They can be reproduced by running test modules, but don't seem to show up in the CI.
Steps to reproduce
- Check out a current branch
- Activate an up-to-date
iris-dev
environment
- Regridding Issue Use
meta
correctly inmap_blocks
to prevent dask from passing a 0d array through the regridder #4598
python lib/iris/tests/integration/analysis/test_area_weighted.py
produces
[git-path]/iris/lib/iris/analysis/_area_weighted.py:606: DeprecationWarning: Out of bound index found. This was previously ignored when the indexing result contained no elements. In the future the index error will be raised. This error occurs either due to an empty slice, or if an array has zero elements even before indexing.
(Use `warnings.simplefilter('error')` to turn this DeprecationWarning into an error and get more details on the invalid index.)
src_area_datas_square = src_data[
- Plotting Issue Stop using nc_time_axis.CalendarDateTime #4584
python lib/iris/tests/integration/plot/test_netcdftime.py
produces
[conda-path]/iris-dev/lib/python3.8/site-packages/nc_time_axis/__init__.py:41: DeprecationWarning: CalendarDateTime is obsolete and will be deprecated in nc_time_axis version 1.5. Please consider switching to plotting instances or subclasses of cftime.datetime directly.
trexfeathers
Metadata
Metadata
Assignees
Labels
No labels