choose different namelist.recom depending on setup #644
Replies: 4 comments 2 replies
-
Hi Chris, yes, this is the right place (i.e. it is a usage question and not a program bug. Use issues for the latter case). There are two options for this, please have a look:
recom:
config_sources:
recom: /some/path/to/your/desired/namelist.recom
If we do option 2, this could be handled at the esm-tools internal level, e.g. the user would not notice this. You would need to modify Also, looking at your commit 12e95950: I am not sure I like dependence on environmental variables directly in the default configs. That currently is allowed everywhere, but it should be in real-world usage be restricted to user run scripts. You get a friendly error if you don't have the environmental variable set in your shell, but that is one more hoop people need to jump through, and if someone puts that in their dot files and then forgets about it, they will be running simulations with unintended settings. I prefer to use |
Beta Was this translation helpful? Give feedback.
-
To add to @pgierz suggestion: I don't think there is a need for using the The fact that your |
Beta Was this translation helpful? Give feedback.
-
Related issue: #646 |
Beta Was this translation helpful? Give feedback.
-
Hi @chrisdane, has your question been answered here? Do you remember about your discussion with Deniz about this issue? I am wondering, because I think nothing as been done so far related to the issue #646. @pgierz, do you know about the related issue #646? Thank you for your update on this. |
Beta Was this translation helpful? Give feedback.
-
Hi
The default behavior of
needs to be changed depending on the setup in which recom is used: If the setup is awicm-1.0-recom (i.e. fesom+recom+echam), a specific namelist.recom should be used. If the setup is fesom-recom (i.e. fesom+recom), another namelist.recom should be used. Both namelists are provided in the recom repository, i.e. the model directory.
I dont know how to do that. Should this go into recom.yaml or awicm_recom.yaml or fesom-recom.yaml or a completely different place?
I tried this and it works: 12e95950. But now a user provided
further_reading
is not on top of the priority chain and is ignored in the finished config:Thanks for help (is this the right place?)
Chris
Beta Was this translation helpful? Give feedback.
All reactions