Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How to switch off a namelist variable

James King

James King
Member
Hi all,

I'm trying to build a transient run based on an existing non-transient run I made previously. The problem I am having is trying to turn off 'ext_frc_cycle_yr', 'srf_emis_cycle_yr', etc. The model doesn't run because these values are fixed at 2010, even though I have not set them in user_nl_cam and I have 'ext_frc_type' etc. set to 'INTERP_MISSING_YEARS'. Following other users on these forums, I have tried:

ext_frc_cycle_yr =
ext_frc_cycle_yr = " (quotation mark)
ext_frc_cycle_yr = '' (two apostrophes)
ext_frc_cycle)yr - ' ' (two apostrophes with a space in the middle)

but to no avail, as when I run ./check_case I get some variation on

ERROR: Invalid namelist variable in '-infile' /glade/work/jamesking/cases/SSP3_transient_test_00/Buildconf/camconf/namelist.
ERROR: in _validate_pair (package Build::NamelistDefinition): Variable name ext_frc_cycle_yr has an input value of type string,
' '
but is defined as type integer in /glade/work/jamesking/CESM2_2_0/components/cam/bld/namelist_files/namelist_definition.xml

How do I turn these settings off? Model version is CESM2.2.0 and I'm working on Cheyenne.

Thanks,

James
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
If you want to cycle over a single, I think you should set:
Code:
ext_frc_cycle_yr               = 2010
ext_frc_type           = 'CYCLICAL'

instead of

Code:
ext_frc_type           =  'INTERP_MISSING_YEARS'
 

James King

James King
Member
Hi Cecile,

I don't want to cycle over a single year, that's the problem! I want to do a transient run but can't work out how to remove the setting 'ext_frc_cycle_yr' which appears in my atm_in even though I haven't set it in user_nl_cam. Trying previous forum suggestions for turning namelist settings off hasn't worked.

Cheers,

James
 
Top