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

make the colour bars for the contours and the map user defined #1221

Closed
jgriesfeller opened this issue Jun 21, 2024 · 2 comments · Fixed by #1256
Closed

make the colour bars for the contours and the map user defined #1221

jgriesfeller opened this issue Jun 21, 2024 · 2 comments · Fixed by #1256
Labels
enhancement ✨ New feature or request
Milestone

Comments

@jgriesfeller
Copy link
Member

jgriesfeller commented Jun 21, 2024

Is your feature request related to a problem? Please describe.
The clour scales are right now defined globally here:

var_ranges_defaults = {
"default": {"scale": [0, 1.25, 2.5, 3.75, 5, 6.25, 7.5, 8.75, 10], "colmap": "coolwarm"},
"ang4487aer": {
"scale": [0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2],
"colmap": "coolwarm",
},
"od550aer": {
"scale": [0, 0.05, 0.1, 0.15, 0.20, 0.25, 0.30, 0.35, 0.40],
"colmap": "coolwarm",

Different users have different priorities for how the scaling should look like. The scales should therefore be easily changeable (e.g. via the aeroval config file)

Describe the solution you would like to see
make the scales an optional part of the aeroval config file

Additional context
color bars are used at the contours:
image
The same values are also used here:
image

@heikoklein
Copy link
Member

In addition, default color-maps should be defined by frequency, i.e. a range of 0-80 of hourly PM is fine, while it should be rather 0-35 for daily averages and 0-20 (or even less) for yearly averages.

@heikoklein
Copy link
Member

In addition, default color-maps should be defined by frequency, i.e. a range of 0-80 of hourly PM is fine, while it should be rather 0-35 for daily averages and 0-20 (or even less) for yearly averages.

moved to issue #1258

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 a pull request may close this issue.

2 participants