-
Notifications
You must be signed in to change notification settings - Fork 12
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
Bugfix for correct awicm3 general version in choose block #1155
Conversation
A short description about what still fails in this branch and in branch
Now it finds the variable
I think the cause of this error is in the In the case of the fesom version set with a subversion variable (as in |
…setting of D flags
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.
It should be working all now. @nwieters, can you give it another try?
This type of implementation was already done by Ying, @mbutzin and myself into AWIESM-2.1. One can find a lot of inspiration from the problems to come in AWICM3-REcoM in the configs/setups/awiesm/awiesm.yaml
and in the configs/components/fesom/fesom-2.1.yaml
specially if one searches for the with_recom
.
@nwieters, merge whenever you consider is ready :)
Unfortunatly this doesn't solve the problem with the wrong fesom.yaml file taken. |
Hi @chrisdane, @mandresm , I merged this PR into the branch awicm3-recom. It still does not solve the problem with the resolving the variable in the fesom version. But the workaround for this is to set the fesom version explicitly in the runscript
With this I think @chrisdane can start to test awicm3-recom for now. I will fix the version issue then in release. |
A very important remark for @chrisdane: once this is fix, one should not manually set the version of fesom (unless experimenting things) as specifying a particular version of AWICM3 should be enough, avoiding confusion and errors. |
Thanks a lot all. On 93409af the recom section now appears in the finished config of a check run. However, the namelist.recom is not in the run dir (the esm_runscripts call does not complain not to find namelist.recom). Any idea how to "activate" recom in this case? Runscript:
Expdir:
Thanks a lot! |
This is normal, the yaml file of The solution is to follow a similar logic as in esm_tools/configs/setups/awiesm/awiesm.yaml Lines 110 to 114 in 2d980df
esm_tools/configs/setups/awiesm/awiesm.yaml Lines 434 to 463 in 2d980df
The box above covers more lines than it seems, so please scroll down on the box to see the whole thing. By adding a |
@chrisdane, let me know if we need to meet together with @nwieters to give you further advice on how to proceed, or if you think it would be good to discuss planning on support for adding this feature. |
This PR corrects a small bugfix in awicm3.yaml for setting the right choose in a
choose_general.version
block.