-
Notifications
You must be signed in to change notification settings - Fork 15
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
Use map_freqs in ModelMapsEngine #1268
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main-dev #1268 +/- ##
============================================
- Coverage 79.34% 78.96% -0.39%
============================================
Files 133 133
Lines 20421 20599 +178
============================================
+ Hits 16204 16265 +61
- Misses 4217 4334 +117
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Looks like it is being passed down to the outputted config correctly as well: "modelmaps_opts": {
"maps_freq": "monthly",
"maps_res_deg": 5
}, |
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.
The fix looks good, but I am worried that this will break many configs where maps_freq wasn't given explicitly, e.g. https://aeroval.met.no/pages/infos/?project=cams2-83&experiment=forecast-current-season has daily maps.
I suggest that maps_freq has a default of the currently used min(time_cfg.freqs, main_freq) rather than "monthly".
The CAMS2_83 case brings up a good point, the |
Can't we get back to the de-facto default - rather than the never implemented literal default, e.g. use the coarsest resolution, e.g. |
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.
Do we have some public documentation of modelmap_opts->maps_freq
, e.g. in https://pyaerocom.readthedocs.io/en/latest/aeroval-examples.html (i only see it in the API/developer documentation, but not in the user-documentation for config-files).
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. I would love some docs for the config. (Maybe an issue of it's to create a fully documented config page?)
No I don't see any documentation outside of the API documentation you mention. I agree, would love a full documented config. Config files are already a topic for the AeroTools workshop, and once more clearly defined, should be better documented. |
Change Summary
Pass the correct maps_freq in ModelMapsEngine.
Related issue number
Checklist