-
Notifications
You must be signed in to change notification settings - Fork 294
Redirect ALL un-loadable NetCDF objects to LOAD_PROBLEMS
#6465
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6465 +/- ##
==========================================
+ Coverage 89.80% 89.83% +0.02%
==========================================
Files 90 90
Lines 23755 23829 +74
Branches 4418 4429 +11
==========================================
+ Hits 21334 21407 +73
Misses 1672 1672
- Partials 749 750 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
# TODO: is it acceptable to use dataclass instead of NamedTuple purely | ||
# because the docs render cleaner?! |
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.
‼
@@ -48,7 +48,7 @@ | |||
<dimCoord id="62e940e0" points="[10, 20, 30]" shape="(3,)" standard_name="longitude" units="Unit('degrees')" value_type="int32" var_name="lon"/> | |||
</coord> | |||
<coord datadims="[0]"> | |||
<auxCoord id="cb784457" points="[ 1, 100, 3]" shape="(3,)" standard_name="time" units="Unit('hours since 1970-01-01 00:00:00', calendar='standard')" value_type="int32" var_name="time3"/> | |||
<auxCoord id="cb784457" points="[ 1, --, 3]" shape="(3,)" standard_name="time" units="Unit('hours since 1970-01-01 00:00:00', calendar='standard')" value_type="int32" var_name="time3"/> |
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.
This may look like I'm just changing the test to suit me! But I believe my changes have actually improved how Iris works. Our previous graceful fallback on to AuxCoord
involved using the DimCoord
arguments for AuxCoord
creation - so no masking - whereas we are now fully retrying the whole process if DimCoord
fails.
🚀 Pull Request
Description
Closes #6319
Objects
LoadProblems.Problem.handled
flagLoadProblems.Problem.destination
attribute, for maximum contextRefactor existing changes to capture objects being added to non-Cube
objects tooConsult Iris pull request check list
Add any of the below labels to trigger actions on this PR: