-
Notifications
You must be signed in to change notification settings - Fork 129
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 recipe and diagnostics for Schlund et al., JGR: Biogeosciences, 2020 #1860
Conversation
@schlunma 16k added lines and 14 deletions - phew, am relieved, 14 deletions only - piece of cake to review 😁 Dude, can you maybe break this down into smaller chunks - there are a lot of documentation (rst) files that can definitely go in a separate PR, together with the png pictures; we can deal with the python code in one PR I am guessing, albeit a big PR, but at least someone else can look at the documentation (maybe someone who actually knows the science?). Cheers 🍺 |
Cheers V., thanks for taking a look into this! As I said, I'm really really sorry for this monster PR!! Unfortunately, separating the doc from the actual code is not possible since most of the doc is created using As I already said, I really don't think that a scientific review is necessary since this code went basically through full peer review! (P.S. the failing test is probably not related to this PR: |
aah right, completely forgot about the review from the paper (congrats on the paper, bro!). OK I will start the code review tomorrow, I can do this all - can take the burden off @bouweandela since he's reviewed a lot elsewhere so far anyway. |
OK I promise I will start revieweing tomorrow (really can't start it now at 5pm 😁 ) but before I do that - so we make a smooth transition to iris3 - have a look at ESMValGroup/ESMValCore#819 and specifically at https://scitools-iris.readthedocs.io/en/v3.0.0rc0/whatsnew/3.0.html#features (stuff you've already reviewed anyway) and was wondering if there's anything in all this code that may be an issue when switching to iris3. And I promise I'm not stalling the review 😁 |
Tests of recipe_schlund20jgr_gpp_abs_rcp85.yml are still running, but the ones of recipe_schlund20jgr_gpp_change_1pct.yml and recipe_schlund20jgr_gpp_change_rcp85.yml finished successfully. Here a few things I noticed so far:
|
Thanks for testing Axel!
I will re-upload them with reduced size.
That is automatically done by ESMValTool (which creates the subdirectories
For every plot file I created an |
Thanks V.! I just checked the link; I'm not using any of the functions listed in the incompatible changes/deprecations. So (in theory) the code should run in iris3 😄 |
It might be nice to rebase, because then the commits containing the large files will not end up in the master branch, so they will be garbage collected at some point and the repo will stay small. |
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.
The last test just finished, looks all fine to me.
esmvaltool/recipes/schlund20jgr/recipe_schlund20jgr_gpp_change_rcp85.yml
Outdated
Show resolved
Hide resolved
esmvaltool/recipes/schlund20jgr/recipe_schlund20jgr_gpp_change_rcp85.yml
Outdated
Show resolved
Hide resolved
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.
Stopped right before mmm.py
- will resume later 👍
You might want to have a closer look at the documentation by clicking the 'Details' link behind the readthedocs build below or building the documentation locally. I noticed several problems, especially in the API documentation:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
configuration options in recipe
9188835
to
85c2402
Compare
Alright, I made some more progress: @bouweandela I fixed all issues now by pinning @valeriupredoi I added the comment about the custom Any more comments from your side? |
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.
looks good to me and helluva lot of work, well done @schlunma
esmvaltool/recipes/schlund20jgr/recipe_schlund20jgr_gpp_change_1pct.yml
Outdated
Show resolved
Hide resolved
Thanks, the documentation looks much better now, though it's still not exactly an easy read. Apart from the minor comment that the provenance is still not quite right, I think this can be merged soon. I'm not going to look at the code since @valeriupredoi already did that. I'm running the conda build locally now, just to make sure it's still working. |
This PR adds the actual diagnostics and recipes necessary for the analysis of Schlund et al., JGR: Biogeosciences, 2020.
I'm terribly sorry for this monster PR - I started the development a long time ago and could only upload it to the public repository when my paper was accepted (a week ago, unfortunately it has not been published online yet). Since I used this exact code to do the analysis I don't think that a scientific review is necessary. I also do not ask you to do a full review since these are way to many lines of code. Maybe you can just have a look at the documentation and run the recipes?
Since I was not able to include the correct citation in this PR (no DOI available yet) I will open an issue to remind myself of doing that. It would be really nice to include this in
v2.1
so that the code availability section of the paper can be adapted accordingly.Thanks for your patience 😄
Tasks
yamllint
to check that your YAML files do not contain mistakesNew recipe/diagnostic
doc/sphinx/source/recipes
folder and add a new entry to index.rstIf you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.
Closes #1844.