-
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
How to remove_namelist_changes? #1173
Comments
HI @joakimkjellsson, Note that your namelist has an nemo:
remove_add_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale If this does not work, and the If you still have the problem, I can have a look at it on Monday, just let me know |
Hi @mandresm. Thanks for the tip. Unfortunately that did not solve the problem. To give the full details: nemo:
....
# See nemo.yaml for description of versions
choose_general.version:
...
"agrif-3.0":
version: "ORCA05_LIM2_KCM_AGRIF_OASISMCT4"
resolution: ORCA05
add_namelist_changes:
namelist_cfg:
namdyn_ldf:
rn_ahm_0_blp: -1.709e12
namtra_ldf:
rn_aeiv_scale: 0.5 I've tried adding the following to my runscript but nothing actually removes the nemo:
...
remove_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale Attempt 2: nemo:
remove_add_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale Attempt 3: nemo:
choose_general.version:
"agrif-3.0":
remove_add_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale Attempt 4: focioifs:
model_dir: ${general.homedir}/esm/models/focioifs-agrif-3.0/
nemo:
choose_general.version:
"agrif-3.0":
remove_add_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale I feel like I've tried every possible permutation with no luck. It would be great if you could have a look. I feel like there must be a small mistake here somewhere. Many thanks |
One last try: nemo:
remove_choose_general.version.agrif-3.0.add_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale That's what I meant above. If this doesn't work I'll look at it. |
Nope that didn't solve it either. focioifs:
nemo:
remove_choose_general.version.agrif-3.0.add_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale then at least it shows up in the general:
...
nemo:
remove_choose_general.version.agrif-3.0.add_namelist_changes.namelist_cfg.namtra_ldf:
- rn_aeiv_scale I still get the namelist change in my final I'm free for a zoom call before 13:30 if that helps. Thanks! |
A provisional solution that actually works: add_namelist_changes:
namelist_cfg:
namsbc_rnf:
rn_rfact: 1.00
namdyn_ldf:
rn_ahm_0_blp: -1.709e12
namtra_ldf:
rn_aht_0: 600
rn_aeiv_scale: "remove_from_namelist" I'll keep looking at why the other remove does not work |
Thanks a lot @mandresm! That did the trick for me! |
Note for the ESM-Tools devs: the problem with |
I have the same problem but neither of these 3 works:
These are all in a setup and hence should overwrite the component default:
Note that for cases 2 and 3 the resulting runscripts log line
is not displayed. But when I comment out the key in the Thanks for help: |
Hey ho
In the
nemo.yaml
we have something like this for FOCI-OpenIFS 3.0.1:Now, I have one experiment where I'd like to un-do some of these namelist changes. So I found this in
awiesm.yaml
which I think instructs ESM-Tools to remove the namelist change for
constant_CO2
innamelist.recom
under chapterpavariables
.So I tried to mimick this in my own runscript:
But this doesn't actually do anything. The
rn_aeiv_scale
value is still modified in the final namelist. I can see it underadd_namelist_changes
in the "finished" yaml file, but I can't see theremove_namelist_changes
there.Am I not doing the
remove_namelist_changes
correctly?Best wishes
Joakim
The text was updated successfully, but these errors were encountered: