-
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
Fix modelmaps #1444
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main-dev #1444 +/- ##
============================================
- Coverage 78.50% 78.48% -0.02%
============================================
Files 139 139
Lines 21101 21106 +5
============================================
+ Hits 16565 16566 +1
- Misses 4536 4540 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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
Rerequesting my own review because tests failing now. Will review again once everything is fixed. |
b655a38
to
e5d5dfe
Compare
Rebased on |
Fails due to #1469 |
… default choice of freq for same
…from MODELREADERS_USE_MAP_FREQ
25c32f8
to
c9e08bb
Compare
Change Summary
This PR tries to improve modelmaps_engine after some crashes by cams2_83
Related issue number
Fixes #1443
Checklist