Conversation
…REAS a python_list
monsoon assessment area
|
|
||
| [scheduling] | ||
| [[graph]] | ||
| R1 = """ |
There was a problem hiding this comment.
Noddy question: does this overwrite, or append to, the R1 = ... in line 16 of the main flow.cylc file?
There was a problem hiding this comment.
It appends to. Use this quite a bit in our model workflows.
There was a problem hiding this comment.
This looks great @pdearnshaw, thank you! 🥳
I have some minor comments to add when you are ready for them, but my biggest question is whether we want to utilise Rose (i.e. use optional configuration based on the autoassess_area and use a single command in the rose-app.conf file) rather than defining the script within the autoassess.cylc file, for consistency with the rest of CMEW? 🤔 If this feels like a lot of work we can defer this, so we can showcase what works at the demo on Wednesday? 🤔
I have made some suggestions on what I needed to change to get CMEW to run. With these changes, CMEW fails for me as follows:
[FAIL] file:~/cylc-run/CMEW/run55/share/src/AutoAssess=source=git:https://github.com/MetOffice/AutoAssess.git::./::45_update_for_cmew: ls-remote: could not locate 'https://github.com/MetOffice/AutoAssess.git':
[FAIL] fatal: could not read Username for 'https://github.com/': No such device or address
2026-02-16T09:10:12Z CRITICAL - failed/ERR
I assume this is because the AutoAssess repository is private and I don't have access. We might need to consider how best to solve this (edited to add: we could use a mirror?) / add something to the prerequisites.
CMEW/inc/autoassess.cylc
Outdated
| --data-dir $DATA_DIR \ | ||
| --suite-id $CYLC_TASK_PARAM_suite_id | ||
| """ | ||
| {%- endfor %} |
There was a problem hiding this comment.
I had to remove this line to get CMEW to run.
There was a problem hiding this comment.
This line has been removed.
CMEW/inc/autoassess.cylc
Outdated
| --ancil-dir $ANCIL_PATH | ||
| """ | ||
|
|
||
| [[run_area<autoassess_area=australia>]] |
There was a problem hiding this comment.
I had to remove this section to get CMEW to run.
There was a problem hiding this comment.
I would have suggested removing this section anyway, since the issue is for the monsoon assessment area only (but it's great to see that other areas work!) 😊
There was a problem hiding this comment.
The suggestion of using rose apps has resolved this problem. There is only one task defined with parametrisation so whatever logic that prevented this from working with this will have gone away,
CMEW/inc/autoassess.cylc
Outdated
| --ncpu 1 | ||
| """ | ||
|
|
||
| [[run_area<autoassess_area=mjo>]] |
There was a problem hiding this comment.
I had to remove this section to get CMEW to run.
There was a problem hiding this comment.
I would have suggested removing this section anyway, since the issue is for the monsoon assessment area only (but it's great to see that other areas work!) 😊
There was a problem hiding this comment.
The suggestion of using rose apps has resolved this problem. There is only one task defined with parametrisation so whatever logic that prevented this from working with this will have gone away,
| END_DATE = {{ (START_YEAR+NUMBER_OF_YEARS-1)|string + '/12/01' }} | ||
|
|
||
| [[install_autoassess]] | ||
| inherit = AUTOASSESS, SITE_AA_INSTALL |
There was a problem hiding this comment.
To remove the error CYLC_TASK_PARAM_autoassess_area: unbound variable:
| inherit = AUTOASSESS, SITE_AA_INSTALL | |
| inherit = SITE_AA_INSTALL |
There was a problem hiding this comment.
I have re-engineered [[AUTOASSESS]] to not use the parametrised variable so this family can still be used by install_autoassess
|
In response to Emma's review I have the following comments, and have tried to reply to specific issues in the code review comments. The issue over accessing AutoAssess from the GitHub repository has potentially been resolved. The URL used was the HTTPS version due to a misconfigured user authentication key (not authorised for SSO). Once this was resolved the SSH version of the repository URL worked. The Met Office's local mirror bot has also been added to the collaborator list so the AutoAssess repository is also available via local mirror. I have tested both of these and they "work for me"! I have implemented the AutoAssess scripts as rose apps (all prefixed I think this PR is ready for another look if and when you are ready Emma? |
|
One thing that has cropped up is that the AutoAssess code will not work with the esmvaltool community version of scitools due to the missing |
This is a draft Pull Request to get a pre-review to make sure the direction of travel is as expected.
Closes #343 .
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?