-
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
Fix modelmaps #1444
base: main-dev
Are you sure you want to change the base?
Fix modelmaps #1444
Conversation
… default choice of freq for same
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main-dev #1444 +/- ##
============================================
- Coverage 78.43% 78.38% -0.05%
============================================
Files 137 138 +1
Lines 20963 20996 +33
============================================
+ Hits 16442 16458 +16
- Misses 4521 4538 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…from MODELREADERS_USE_MAP_FREQ
I've might have fixed the bug now (needs more testing by charlie), but the original tests for modelmaps_engine are very bare-bones (that's why the bug was not caught), so I'll add more and better tests before reviewing |
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.
small comment to maybe remove
pyaerocom/io/cams2_83/reader.py
Outdated
@@ -219,7 +219,7 @@ def check_files(paths: list[Path]) -> list[Path]: | |||
|
|||
|
|||
class ReadCAMS2_83(GriddedReader): | |||
FREQ_CODES = dict(hour="hourly", day="daily", month="monthly", fullrun="yearly") | |||
FREQ_CODES = dict(hour="hourly") # , day="daily", month="monthly", fullrun="yearly") |
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.
please remove dead code
Change Summary
This PR tries to improve modelmaps_engine after some crashes by cams2_83
Related issue number
Fixes #1443
Checklist