gus@ldeo_columbia_edu
Member
How do I change more than one namelist with build_namelist?
For instance, suppose I want to change the driver stop_option, stop_n,
and the atmosphere CO2 mixing ratio.
I tried these five slightly different syntaxes:
1) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1 &cam_inparm co2vmr=734.0e-6"
2) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1, &cam_inparm co2vmr=734.0e-6"
3) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1","&cam_inparm co2vmr=734.0e-6"
4) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1" -namelist "&cam_inparm co2vmr=734.0e-6"
5) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1", -namelist "&cam_inparm co2vmr=734.0e-6"
With 1, 2, 3 build_namelist hangs and never returns.
With 4,5 build_namelist produces the namelists but doesn't apply the changes in the -namelist option.
Is there a way around?
Did I miss some detail in the syntax?
I could edit the namelists by hand instead.
Than you.
Gus
For instance, suppose I want to change the driver stop_option, stop_n,
and the atmosphere CO2 mixing ratio.
I tried these five slightly different syntaxes:
1) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1 &cam_inparm co2vmr=734.0e-6"
2) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1, &cam_inparm co2vmr=734.0e-6"
3) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1","&cam_inparm co2vmr=734.0e-6"
4) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1" -namelist "&cam_inparm co2vmr=734.0e-6"
5) -namelist "&seq_timemgr_inparm stop_option='nyears' stop_n=1", -namelist "&cam_inparm co2vmr=734.0e-6"
With 1, 2, 3 build_namelist hangs and never returns.
With 4,5 build_namelist produces the namelists but doesn't apply the changes in the -namelist option.
Is there a way around?
Did I miss some detail in the syntax?
I could edit the namelists by hand instead.
Than you.
Gus