Open JanStreffing opened 1 month ago
Doesn't the coupling file need indents?
@pgierz and I looked into this.
The problem is, that when one makes a component model version, like so
choose_version:
"2.5":
branch: "2.5"
"2.5-paleodyn":
branch: "2.5.1_paleo"
destination: "fesom-2.5"
git-repository:
- https://github.com/FESOM/fesom2.git # LA: only temporarily
wiso_code: true
icb_code: true
namelist_dir: "${model_dir}/config/"
'2.5-awicm-3.2':
branch: "AWI-CM3_v3.2"
everything before the - is used to find the name of the fesom-${version}.yaml
file name. If one does not use a -
, the whole name is used to find the yaml file name. If that yaml file name does not exist, esm_master falls back onto the default fesom.yaml. This does not contain a tidy recipe. Which causes the esm_parser called from the esm_plugin_manager to spew out the error above.
The workaround is the stick to the nameing convention that puts a -
after the version that is used in the yaml filename. So no version 2.5.2, but 2.5-2 ;-)
I suggest this issue should stay open until the behaviour is documented, and then closed. A fix does not look plausible without a major rewrite of esm_master.
Even better than just documentation, a proper error on top of docs explaining what's going wrong.
I added a new model version, something I have done quite a few times before. I must have made a silly mistake, but I can't seem to spot it.
Here is the work I have done so far: https://github.com/esm-tools/esm_tools/pull/1183/files
The error I get is: