-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate regrids #4548
Deprecate regrids #4548
Conversation
dca6f16
to
4fce2db
Compare
Latest change : triggered by the observation that we must avoid the deprecation message in normal use of AreaWeightedRegridder. |
870417b
to
16dc083
Compare
Latest probably fixed tests. |
I think the main job is done, but there is an outstanding CI problem, and I'm not clear what is wrong. |
Update : rather luckily (!) it is also failing in the benchmarks, where it is a lot easier to see what got run. Search goes on ... |
OK, that fixed it ! Reminder of the goals + what appears to now work :
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good to me! Thanks @pp-mo !
* main: (64 commits) [pre-commit.ci] pre-commit autoupdate (SciTools#4587) fix test (SciTools#4585) Loading Benchmarks (SciTools#4477) Fix refresh lockfile worrkflow pull request title (SciTools#4579) gha: lockfiles labels and auto-pr details (SciTools#4578) Bump actions/script from 4 to 5.1.0 (SciTools#4576) Bump actions/stale from 4.0.0 to 4.1.0 (SciTools#4575) Bump peter-evans/create-pull-request from 3.8.2 to 3.12.1 (SciTools#4577) adopt dependabot GHA (SciTools#4568) New tool-agnostic ASV environment management (SciTools#4571) Updated environment lockfiles (SciTools#4567) Update version to 3.3.dev0 (SciTools#4565) Reset whats new (SciTools#4563) docs: move whatsnew (SciTools#4540) Deprecate regrids (SciTools#4548) Update latest.rst (SciTools#4556) Updated environment lockfiles (SciTools#4555) Added whatsnew for SciTools#4551. (SciTools#4553) Update SciTools#4505 doctests for SciTools#4528. (SciTools#4554) minor optimisations (SciTools#4549) ...
Deprecate everything in
iris.experimental.regrid
, as noted in #4394Some of the content has already moved; some will vanish; some can be accessed in a better way.
In this case, as for
iris.experimental.raster
, merely importing it will give a warning.But I have also put deprecation warnings in the docstrings, and a runtime warning, for all of the public features.