-
Notifications
You must be signed in to change notification settings - Fork 284
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
Make the Coord.cell method lazy #5693
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bouweandela
force-pushed
the
lazy-coord-cell-method
branch
from
January 11, 2024 18:42
23c6df2
to
4829ab7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5693 +/- ##
=======================================
Coverage 89.71% 89.71%
=======================================
Files 90 90
Lines 22812 22812
Branches 5436 5436
=======================================
Hits 20465 20465
Misses 1617 1617
Partials 730 730 ☔ View full report in Codecov by Sentry. |
ESadek-MO
approved these changes
Jan 18, 2024
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.
Thanks @bouweandela, looks good to me!
tkknight
added a commit
to tkknight/iris
that referenced
this pull request
Jan 24, 2024
* upstream/main: (26 commits) Bump scitools/workflows from 2023.12.1 to 2024.01.0 (SciTools#5710) Faster trivial equality checks for coordinates and arrays (SciTools#5691) Make the Coord.cell method lazy (SciTools#5693) Re-write `pearsonr` to use `Resolve` (SciTools#5638) ruff compliance for D401. (SciTools#5687) Bump actions/cache from 3 to 4 (SciTools#5703) update rtd ubuntu and mambaforge (SciTools#5702) [pre-commit.ci] pre-commit autoupdate (SciTools#5699) ruff compliance for D205. (SciTools#5681) Added whatsnew to warnings PR (SciTools#5696) Removed use of catch_warnings (SciTools#5685) Better documentation for Cube names in curl (SciTools#5680) fix typo (SciTools#5689) Make further topics obviously different (SciTools#5684) [pre-commit.ci] pre-commit autoupdate (SciTools#5682) ruff complliance for D100. (SciTools#5678) move tests.pp to tests.__init__ (SciTools#5679) ruff compliance for D417, D106 (SciTools#5677) ruff compliance for D200. (SciTools#5675) ruff compliance for D106. (SciTools#5676) ...
acchamber
added a commit
to acchamber/iris
that referenced
this pull request
Feb 6, 2024
…into shapefile_masking * 'shapefile_masking' of https://github.com/acchamber/iris: (102 commits) [pre-commit.ci] auto fixes from pre-commit.com hooks Update lib/iris/_shapefiles.py [pre-commit.ci] auto fixes from pre-commit.com hooks Numpydocs misc (SciTools#5728) Updated environment lockfiles (SciTools#5731) Bump codecov/codecov-action from 3 to 4 (SciTools#5727) DOCS: API docs ToC more levels (SciTools#5714) Bump scitools/workflows from 2024.01.0 to 2024.02.0 (SciTools#5726) DOCS: numpydocs 8 (SciTools#5722) DOCS: numpydocs 7 (SciTools#5720) DOCS: numpydocs 6 (SciTools#5718) fix docstring types and remove duplicate line. (SciTools#5719) Updated environment lockfiles (SciTools#5717) numpydocs (SciTools#5715) DOCS: numpydocs 4 (SciTools#5711) DOCS: Add ruff section to the dev guide docs (SciTools#5701) [pre-commit.ci] pre-commit autoupdate (SciTools#5709) Bump scitools/workflows from 2023.12.1 to 2024.01.0 (SciTools#5710) Faster trivial equality checks for coordinates and arrays (SciTools#5691) Make the Coord.cell method lazy (SciTools#5693) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚀 Pull Request
Description
This avoids loading all the coordinate data from disk if only a single cell is requested.
Closes #5692
Consult Iris pull request check list