-
Notifications
You must be signed in to change notification settings - Fork 36
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
on-the-fly cmoriser for ACCESS native data #2430
base: main
Are you sure you want to change the base?
Conversation
@rbeucher our on-the-fly cmoriser pr is there, fixing issues to pass those tests |
Thanks Rhaegar. I think we need to update the documentation too. I will have a go. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2430 +/- ##
==========================================
- Coverage 94.07% 93.85% -0.23%
==========================================
Files 241 242 +1
Lines 13422 13474 +52
==========================================
+ Hits 12627 12646 +19
- Misses 795 828 +33 β View full report in Codecov by Sentry. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2430 +/- ##
==========================================
- Coverage 94.61% 94.57% -0.05%
==========================================
Files 246 247 +1
Lines 14048 14082 +34
==========================================
+ Hits 13292 13318 +26
- Misses 756 764 +8 β View full report in Codecov by Sentry. |
Small change to ACCESS Live CMORiser documentation
Hi @rhaegar325 , See the PR here #1678 for CESM2 |
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.
It's working for me. Added another suggestion, sorry I didn't see in my previous review.
doc/quickstart/find_data.rst
Outdated
- '{institute}/{sub_dataset}/{exp}/{modeling_realm}/netCDF' | ||
input_file: | ||
default: '{sub_dataset}.{special_attr}-*.nc' | ||
output_file: '{sub_dataset}.{special_attr}' |
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.
output_file: '{sub_dataset}.{special_attr}' | |
output_file: '{institute}_{sub_dataset}_{special_attr}_{short_name}' |
Could edit in the config-developer
file so that the output preprocessed files can have more info like other output files, including short_name and institute and separated by underscores.
Hi, @schlunma @valeriupredoi: |
- fld_s03i332 | ||
- fld_s02i205 | ||
modeling_realm: atm | ||
calculate: var[0]-var[1]+var[2]-var[3] |
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 recommend using a more readable format here, e.g.
fld_s02i207 - fld_s02i201 + fld_s03i332 - fld_s02i205
. Instead of using eval
(which leaves a lot of room for user mistakes and potential security issues), you could just write a regular expression to parse the string to get out the variables and operators, which you then apply.
Description
This pull request is to add the first version of on-the-fly cmoriser for ACCESS native data.
in this version we support only two variables(tas, pr), and will try to develop a more general version in next version.
Closes ESMValGroup/ESMValTool#3431
Link to documentation:
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the π Technical or π§ͺ Scientific review.
To help with the number pull requests: