-
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
on-the-fly cmoriser for ACCESS native data #2430
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2430 +/- ##
==========================================
+ Coverage 94.61% 94.64% +0.02%
==========================================
Files 246 248 +2
Lines 14048 14105 +57
==========================================
+ Hits 13292 13349 +57
Misses 756 756 ☔ 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.
Hi Rhaegar.
It looks cleaner. However, specific variable fixes should be defined in specific classes. AllVar is supposed to be general and shouldn't have conditional sections based on the variable. See @schlunma comments.
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.
Just a few comments. I think it is good to go. I am not sure about the sub_dataset
facet name... @flicj191 any ideas?
``sub_dataset`` Part of the ACCESS-ESM raw dataset No default | ||
root, need to specify if you want to | ||
use the cmoriser |
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.
Is it part of the root ? I don't think so. careful to not create confusion with the rootpath in the config file.
class Rlus(AccessFix): | ||
"""Fixes for Rlus.""" | ||
|
||
def fix_rlus_data(self, cubes): |
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.
rename to fix_data
class Rsus(AccessFix): | ||
"""Fixes for Rsus.""" | ||
|
||
def fix_rsus_data(self, cubes): |
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.
rename to fix_data
You need to fix the tests @rhaegar325 |
Hi @rbeucher, sorry, since there were so many commits on this lately I was waiting for a comment saying that it's ready for a final check. I would have loved to take one more look at this. Before dismissing someone's review, please ask them and give them some time. If you don't get an answer after that, it's of course fine to dismiss the review. As I said, I wasn't aware that this is ready for another review. Not a big problem of course, just wanted to make you aware of that! Thanks @rhaegar325 and everyone for all the work on this, it's great to have support for native output of one more model 🚀 |
Sorry @schlunma. I just had to make an executive decision on this one. We are preparing for a training event and we need to get things rolling. Thanks for reviewing this and sorry again. |
Co-authored-by: Yousong Zeng <Yousong> Co-authored-by: Romain Beucher <romain.beucher@anu.edu.au> Co-authored-by: Manuel Schlund <32543114+schlunma@users.noreply.github.com>
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: