-
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
Support flexible pressure_level dependent colourbars #1140
Support flexible pressure_level dependent colourbars #1140
Conversation
not ready for review yet |
now working for predefined and not predefined pressure levels for lfric data. |
finetuning the predefined pressure level dependent min and max values for temperature in Kelvin. Doing this based on spatially averaged profiles. We require further additions for other main variables and levels. |
@jfrost-mo @jwarner8 If we want to add more finetuned variables per pressure level maybe @BernardClaxton can make those changes to the colorbar_map.json? |
000c108
to
60e4f97
Compare
Has now been rebased, though will still need some tests. |
Tests are now implemented and this PR is now ready for review. |
8d4b82d
to
ec47229
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.
Looks good to me
Only includes the colorbar definitions for temperature. More will be added later. Fixes #1139
The long name is the one we normalise, so will be more likely to have a colorbar definition.
This makes the numbers on the colorbar labels much rounder if the range is a multiple of 20. This comes from the fencepost problem, which describes how you need n+1 dividers to support n bins. For example, imagine a fence with 5 segments, like so: |###|###|###|###|###| Notice that we have 6 posts (denoted with | characters) for our 5 fence segments. This is the fence post problem.
38e4b4a
to
c8ee1f1
Compare
33e109c
to
97e0fd4
Compare
Fixes #1139 and parts of #949
Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.