-
Notifications
You must be signed in to change notification settings - Fork 286
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
Iris to GeoVista conversion #5740
Conversation
for more information, see https://pre-commit.ci
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.
Good stuff @HGWright, here are some things to action when you have time
lib/iris/tests/unit/experimental/geobridge/test_cube_faces_to_polydata.py
Outdated
Show resolved
Hide resolved
lib/iris/tests/unit/experimental/geobridge/test_cube_faces_to_polydata.py
Outdated
Show resolved
Hide resolved
lib/iris/tests/unit/experimental/geobridge/test_cube_faces_to_polydata.py
Outdated
Show resolved
Hide resolved
lib/iris/tests/unit/experimental/geobridge/test_cube_faces_to_polydata.py
Outdated
Show resolved
Hide resolved
lib/iris/tests/unit/experimental/geobridge/test_cube_faces_to_polydata.py
Outdated
Show resolved
Hide resolved
for more information, see https://pre-commit.ci
This reverts commit dec4edb.
This reverts commit 0470dee.
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.
Some more comments. Nothing big!
I should also say this is ALL my comments until there are more commits.
lib/iris/tests/unit/experimental/geobridge/test_cube_faces_to_polydata.py
Outdated
Show resolved
Hide resolved
lib/iris/tests/unit/experimental/geobridge/test_region_extraction.py
Outdated
Show resolved
Hide resolved
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.
Nice work, here are my comments
lib/iris/tests/integration/experimental/geovista/test_cube_to_poly.py
Outdated
Show resolved
Hide resolved
lib/iris/tests/integration/experimental/geovista/test_cube_to_poly.py
Outdated
Show resolved
Hide resolved
lib/iris/tests/integration/experimental/geovista/test_extract_unstructured_region.py
Show resolved
Hide resolved
lib/iris/tests/unit/experimental/geovista/test_extract_unstructured_region.py
Show resolved
Hide resolved
@trexfeathers contributions to SciTools#5740.
BTW there also seems to be nothing in the API docs build for I've no idea why this is -- I'm assuming it should be showing API for Perhaps it's discovery behaves differently in "experimental", and perhaps an |
There's loads! |
Sorry, that was a browser caching thing ! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5740 +/- ##
==========================================
+ Coverage 89.74% 89.78% +0.03%
==========================================
Files 92 93 +1
Lines 22942 23004 +62
Branches 5464 5479 +15
==========================================
+ Hits 20590 20653 +63
Misses 1620 1620
+ Partials 732 731 -1 ☔ View full report in Codecov by Sentry. |
* 'geo-bridge' of github.com:HGWright/iris: (41 commits) Updated lock files. [pre-commit.ci] auto fixes from pre-commit.com hooks Advertise structured_um_loading performance regression. [pre-commit.ci] pre-commit autoupdate Updated environment lockfiles [pre-commit.ci] auto fixes from pre-commit.com hooks [pre-commit.ci] pre-commit autoupdate Make the bugfix panel OPEN. What's New patch. What's New patch. Bump scitools/workflows from 2024.03.1 to 2024.03.3 Bump scitools/workflows from 2024.03.0 to 2024.03.1 Bump scitools/workflows from 2024.02.2 to 2024.03.0 Fix usage of map_blocks in AreaWeighted and elsewhere (SciTools#5767) Lazy rolling_window (SciTools#5775) whatsnew update for 3.8.0 (SciTools#5793) Bump scitools/workflows from 2024.02.1 to 2024.02.2 (SciTools#5792) DOCS: Add whatsnew for recent PRs (SciTools#5789) ASV custom build command and file-based benchmark triggers (SciTools#5776) DOCS: Enable numpydoc validation pre-commit hook (SciTools#5762) ...
⏱️ Performance Benchmark Report: ffe8571Performance shifts
Full benchmark results
Generated by GHA run |
⏱️ Performance Benchmark Report: 6be7f96Performance shifts
Full benchmark results
Generated by GHA run |
Thanks for sticking with it! |
* upstream/main: (163 commits) Restore latest Whats New files. Whats new updates for `v3.9.0rc0` (SciTools#5899) nep29: drop py39 and support py312 (SciTools#5894) Support NetCDF v3 files in chunking control code. (SciTools#5897) Avoid computing lazy scalar coordinates when printing a Cube (v2) (SciTools#5896) Force pytest colour output on GitHub Actions (SciTools#5895) Make typing 3.9 compatible. Improve typing readability. Updated environment lockfiles (SciTools#5892) [pre-commit.ci] pre-commit autoupdate What's New entry for SciTools#5740 . Iris to GeoVista conversion (SciTools#5740) Try Union for type hinting. Type hinting. Fix typo. Re-introduce backwards compatible warning. Updated documentation. Remove loose references to fill value warnings. Advertise structured_um_loading performance regression. [pre-commit.ci] pre-commit autoupdate ...
…th_numpydoc * upstream/main: (39 commits) Bump scitools/workflows from 2024.03.3 to 2024.04.0 (SciTools#5907) [pre-commit.ci] pre-commit autoupdate (SciTools#5906) Updated environment lockfiles (SciTools#5904) Ignore flaticon.com in linkchecks. (SciTools#5905) Implement lazy area weights (SciTools#5658) Add option to specify chunks in `iris.util.broadcast_to_shape` (SciTools#5620) Unpin sphinx (SciTools#5901) DOC: clarify save_pairs_from_cube docstring (SciTools#5783) Restore latest Whats New files. Whats new updates for `v3.9.0rc0` (SciTools#5899) nep29: drop py39 and support py312 (SciTools#5894) Support NetCDF v3 files in chunking control code. (SciTools#5897) Avoid computing lazy scalar coordinates when printing a Cube (v2) (SciTools#5896) Force pytest colour output on GitHub Actions (SciTools#5895) Make typing 3.9 compatible. Improve typing readability. Updated environment lockfiles (SciTools#5892) [pre-commit.ci] pre-commit autoupdate What's New entry for SciTools#5740 . Iris to GeoVista conversion (SciTools#5740) ...
🚀 Pull Request
Description
From the issue #5517. This PR adds the ability to convert an Iris cube into a polydata mesh and then extract a region of that to be able to be plotted using geovista. This is a one way operation as it does not include the ability to go the other way from geovista to iris. There was plenty of discussion of the scope of this PR in the original issue.
Consult Iris pull request check list