-
Notifications
You must be signed in to change notification settings - Fork 5
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
Spatial difference plots #1061
Spatial difference plots #1061
Conversation
1bff1c9
to
e22ae85
Compare
c57308b
to
2d79a5b
Compare
This uses the `cset_comparison_base` cube attribute to determine which cube to use as the comparison base. For now it can only take difference between the same validity times, and it filters down to only the common times.
The bwr colour map is chosen to highlight differences.
This required adding some LFRic test data. This is a small cutout over Exeter from an LFRic_apps vn1.1 run valid for 20220101T0000Z.
62597a7
to
169b92f
Compare
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.
Science review:
From a science perspective the documentation is clear. However, the recipe is less so - see comment. There do not appear to be any issues from a science implementation perspective. Code not ran as part of the science review and should be part of the technical review.
Approved from Science perspective.
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 minor suggestions, I will run off this branch later to do a few basic tests (noting your comment that colorbar diffs are limited to few variables and that you'll merge #1064 in after)
We instead just use the order of the latitude coordinate, which is what we care about anyway.
We no longer need it, and ideally want code to be model agnostic.
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.
At long last this is ready to go into CSET. This PR adds a new
misc.difference
operator, a recipe and an include file exercising it.The linking into the rose-edit was actually done in #1055, so that toggle will actually do something now.
Fixes #455
Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.