-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add ocean variable to the ACCESS Live CMORiser #2601
base: main
Are you sure you want to change the base?
Conversation
Add Ocean variables to the ACCESS-Live CMORiser
eac1810
to
afe5b6d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2601 +/- ##
==========================================
+ Coverage 94.68% 94.70% +0.01%
==========================================
Files 251 251
Lines 14372 14426 +54
==========================================
+ Hits 13608 13662 +54
Misses 764 764 ☔ View full report in Codecov by Sentry. |
@rhaegar325 please check that I have not introduced any issues. |
HI, @valeriupredoi , this pr is about a new version of access on-the-fly cmoriser. we add some extra function to make it compatible with two ocean variable. could you please review and merge it if there is no conflict. |
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.
Thanks @rhaegar325 I was able to run a simple recipe and find the data. I've added comments to documentation.
Does still run very slow, it looks like it has to read from each file the date range as the file name (eg.ocean_month.nc-20121231
) doesn't have the date surrounded by '_', '-', '.' as in this dataset part:
https://github.com/ESMValGroup/ESMValCore/blob/ea1734b16899881e7436da83f1eadadb0fc9a788/esmvalcore/local.py#L77C1-L82C34
maybe can add to here? @valeriupredoi @rbeucher
not sure where's best to constrain reading specific variable from the file if that would improve? as each file might have like ~200cubes
@@ -593,7 +593,7 @@ Key Description Default value if not | |||
``modeling_realm`` Realm attribute include `atm`, `ice` No default (needs to be | |||
and `oce` specified in extra facets or | |||
recipe if default DRS is used) | |||
```special_attr`` A special attribute in the filename No default | |||
``freq_attribute`` A special attribute in the filename No default |
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.
As we are changing special_attr
to freq_attribute
we need to edit above as well in lines 576 and 562. Maybe also add for ocean directories and and files like line 561 and 562
'{dataset}/{sub_dataset}/{exp}/{modeling_realm}'
'ocean_{freq_attribute}.nc-*'
and also add to the list of supported variables for ocean (ln 556/557)
yz9299_ESMValTool.yml
Outdated
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.
this empty file can be removed
Thanks @flicj191 for your review, I will remove the empty file and fix the doc. for the file-reading part, it is a problem and bother me for a long time, I think your suggestion could be a solution for this. |
Hi, @valeriupredoi, it seems that I don't have write access to this repo since I can not push my local branch, could you please give me the write permission so that I could manage the branch of this pr? |
I have edited the Having a look at the test dataset ( |
Thanks for your help with this @flicj191 |
Really appreciate for your help and your advice @flicj191 |
Description
Adds Ocean variable to the ACCESS Live CMORIser
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: