-
Notifications
You must be signed in to change notification settings - Fork 9
Metk 146 modifiers #125
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
base: develop
Are you sure you want to change the base?
Metk 146 modifiers #125
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #125 +/- ##
===========================================
+ Coverage 70.12% 70.21% +0.09%
===========================================
Files 135 135
Lines 8143 8131 -12
Branches 780 781 +1
===========================================
- Hits 5710 5709 -1
+ Misses 2433 2422 -11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
I'm a huge fan of separating the definition of the language and the actual rules. I left some minor remarks.
|
|
||
| T = """- context:\n type: [ofb,mfb,oai,sfb,fsoifb,fcdfb,ofa]\n obsgroup: [%(OBSGROUP)s]\n defaults:\n reportype: [%(REPORTYPE_LIST)s]\n""" | ||
|
|
||
| connectionDetails = dict(host = "webapps-db-prod", user = "ecmwf_ro", passwd = "ecmwf_ro") |
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.
I guess this shouldn't be in the public part of the repo?
| unset: [levtype, levelist, param, grid, rotation] | ||
|
|
||
| # new default for levtype=ml, to be enabled later | ||
| # - context: |
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.
Can we activate this already? I just recently stumbled across this behavior.
| connection.close() | ||
| return r | ||
|
|
||
| def getGroups(cursor): |
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.
There is a redefinition of the same method in line 34. Could we rename one of them, as they have different purposes.
…into METK-146_modifiers
Description
extracted all the mars request modifiers from the language file
added Python script to generate reportype modifiers
simplified context syntax
Contributor Declaration
By opening this pull request, I affirm the following: