Skip to content
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

Add LFRic specific recipes #462

Merged
merged 11 commits into from
Apr 17, 2024
Merged

Add LFRic specific recipes #462

merged 11 commits into from
Apr 17, 2024

Conversation

jfrost-mo
Copy link
Member

@jfrost-mo jfrost-mo commented Mar 28, 2024

The UMified LFRic data contains cell methods about being a time point, where the UM has no methods in that case.

Fixes #309
Fixes #487

@jfrost-mo jfrost-mo added the enhancement New feature or request label Mar 28, 2024
Copy link
Contributor

github-actions bot commented Mar 28, 2024

Coverage

Base automatically changed from 322_cycling_over_validity_time to main April 9, 2024 13:46
The UMified LFRic data contains cell methods about being a time point,
where the UM has no methods in that case.
@jfrost-mo
Copy link
Member Author

The time coordinate merge issue comes from a um_stash_souce attribute having multiple values sorted in different orders. Either sorting or dropping that attribute should fix it.
difference

@jfrost-mo
Copy link
Member Author

TODO: Tomorrow test with the non-UMified SLAMed data, in $DATADIR/2024/slammed_lfric/lfric_slam_only_*.nc

This attribute lists multiple STASH codes for that LFRic field, however
the order these codes are listed can vary, causing the cubes to not merge.
@jfrost-mo jfrost-mo self-assigned this Apr 15, 2024
@jfrost-mo jfrost-mo marked this pull request as ready for review April 15, 2024 08:26
Treat strings as atoms, rather than iterating over characters.
They are per file attributes, that have no bearing on the actual data
within, but prevent the cubes merging.
Pytest doesn't pick up the warning for some reason though. This might
be related to logging.captureWarnings, but removing that doesn't seem
to help.
@Sylviabohnenstengel Sylviabohnenstengel merged commit 568482f into main Apr 17, 2024
8 checks passed
@Sylviabohnenstengel Sylviabohnenstengel deleted the 309_lfric_test branch April 17, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test with non-UMified LFRic data Test with some LFRic data
2 participants