Allow each model run to have a different experiment ID#332
Allow each model run to have a different experiment ID#332NParsonsMO wants to merge 15 commits intomainfrom
Conversation
|
Commit 80ab7bb is not actually to do with this issue, I wrote SUITE_ID and REF_SUITE_ID into this section in PR #299 https://github.com/MetOffice/CMEW/pull/299/changes, but they were already inherited as part of MODEL_RUNS. |
mo-nikosbaltas
left a comment
There was a problem hiding this comment.
All looks good. Run successful including tests.
However the text of the PR title does not match with the text of the issue.
|
It was me being careless. It is all ok. |
Co-authored-by: Emma Hogan <ehogan@users.noreply.github.com>
Co-authored-by: Emma Hogan <ehogan@users.noreply.github.com>
mo-nikosbaltas
left a comment
There was a problem hiding this comment.
Agreed with changes Emma suggested and use experiment_id. Run both unittest and test and both passed.
| MODEL_ID="HadGEM3-GC5E-LL" | ||
| NUMBER_OF_YEARS=1 | ||
| REF_CALENDAR="360_day" | ||
| REF_EXPERIMENT_ID="amip" |
There was a problem hiding this comment.
There's a monkeypatch.setenv("REF_EXPERIMENT_ID", "historical") line in CMEW/app/configure_for/bin/test_update_recipe_file.py. Should the REF_EXPERIMENT_ID here match? Should these values be the other way around? 🤔
There was a problem hiding this comment.
Sorry, I didn't mean to press "resolve".
I don't know the answer. These are going to change all the time in real use? Before this change, they were both hardcoded to "amip".
I don't know what type of experiment either run actually was, does a test need to know this, or just that the file will reproduce whatever is set?
There's a comment in update_recipe_file.py here about the change to "amip" from "historical":
https://github.com/MetOffice/CMEW/pull/309/changes#diff-cebbcc20b1948a98773e8a17e02e75d49c69006ec5c379816bcf8fff469aa152
Co-authored-by: Emma Hogan <ehogan@users.noreply.github.com>
Co-authored-by: Emma Hogan <ehogan@users.noreply.github.com>



Closes #263 .
PR creation checklist for the developer
<issue_number>above ☝️ been replaced with the issue number?mainbeen selected as the base branch?<issue_number>_<short_description_of_feature>?good first issuelabel) been added to the PR?Climate Model Evaluation Workflow (CMEW)project been added to the PR?Definition of Done for the developer
docdirectory) related to the change been updated appropriately, including the Quick Start section?PR creation checklist for the reviewer
<issue_number>above ☝️ been replaced with the issue number?mainbeen selected as the base branch?<issue_number>_<short_description_of_feature>?good first issuelabel) been added to the PR?Climate Model Evaluation Workflow (CMEW)project been added to the PR?Definition of Done for the reviewer
docdirectory) related to the change been updated appropriately, including the Quick Start section? N/A