-
Notifications
You must be signed in to change notification settings - Fork 283
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
Allowing exemption to axis guessing on coords #5551
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
* 'guess_coord' of github.com:HGWright/iris: [pre-commit.ci] auto fixes from pre-commit.com hooks precommit
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.
@HGWright It's taking shape, so thanks for persevering 💯
Here's some initial suggestions 👍
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5551 +/- ##
=======================================
Coverage 89.44% 89.45%
=======================================
Files 89 89
Lines 22587 22603 +16
Branches 5385 5389 +4
=======================================
+ Hits 20203 20219 +16
Misses 1638 1638
Partials 746 746 ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
* 'guess_coord' of github.com:HGWright/iris: [pre-commit.ci] auto fixes from pre-commit.com hooks precommit merge
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.
@HGWright This is looking really good.
Just a few minor actions to service, then we can bank this 👍
@HGWright You also need to add a |
@HGWright Could you also raise an issue to capture the need to document these changes. We can action that separately, rather than bloat the scope of this pull-request. |
for more information, see https://pre-commit.ci
* 'guess_coord' of github.com:HGWright/iris: [pre-commit.ci] auto fixes from pre-commit.com hooks add precommit changes
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
* 'guess_coord' of github.com:HGWright/iris: (82 commits) [pre-commit.ci] auto fixes from pre-commit.com hooks [pre-commit.ci] pre-commit autoupdate (SciTools#5579) Relicense to from LGPL-3 to BSD-3 (SciTools#5577) Allow `add_season_year()` to optionally send spans backwards (SciTools#5573) Added xarray phrasebook doc page (SciTools#5564) fixed spacing (SciTools#5572) DOCS: Removed broken git links. (SciTools#5569) More sensible time axis and tick labels for 2D plots (SciTools#5561) removed now incorrect statement. (SciTools#5555) [pre-commit.ci] pre-commit autoupdate (SciTools#5558) Exempt major release label from stalebot (SciTools#5559) updated link (SciTools#5556) Added whatsnew. (SciTools#5552) moved latest warning banner logic to conf.py (SciTools#5508) updated layout of top navbar (SciTools#5505) Oblique and Rotated Mercator (SciTools#5548) [pre-commit.ci] pre-commit autoupdate (SciTools#5549) [pre-commit.ci] pre-commit autoupdate (SciTools#5527) Bump scitools/workflows from 2023.09.1 to 2023.10.0 (SciTools#5540) nep29 drop table schedule numpy>1.21 (SciTools#5525) ...
* upstream/main: Mergeback of `FEATURE_chunk_control` branch (SciTools#5588) [CI Bot] environment lockfiles auto-update (SciTools#5547) Mergeback of "Feature _split_attrs" branch (SciTools#5152) add whatsnew (SciTools#5596) Refactor area weighted regridding, improve performance (SciTools#5543) Allowing exemption to axis guessing on coords (SciTools#5551)
* main: DOCS: Numpydocs1 (SciTools#5578) add links to scitools-classroom repo. (SciTools#5609) Feedstock rc branch management in do-nothing script (SciTools#5515) Relocated the Technical Papers documentation to Further Topics. (SciTools#5602) Fix pp save of realization coordinate (SciTools#5568) Bump actions/checkout from 3 to 4 (SciTools#5460) Bump actions/github-script from 6 to 7 (SciTools#5580) Bump conda-incubator/setup-miniconda from 2 to 3 (SciTools#5607) CI: specify matplotlib-base (SciTools#5606) Mergeback of `FEATURE_chunk_control` branch (SciTools#5588) [CI Bot] environment lockfiles auto-update (SciTools#5547) Mergeback of "Feature _split_attrs" branch (SciTools#5152) add whatsnew (SciTools#5596) Refactor area weighted regridding, improve performance (SciTools#5543) Allowing exemption to axis guessing on coords (SciTools#5551)
🚀 Pull Request
Description
This PR adds a coordinate property
guess_coord
that forcesguess_coord_axis
to returnNone
.Tests for
guess_coord
andguess_coord_axis
added.Closes #5003