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

user_nl_cam changes error

Hello CESM2 users.
I am attempting to change the namelist in cam to output high frequency.

However, I am encountering an error and I don't understand what I have wrong:
err=ERROR(Build::Namelist::_parse_next): expect a F90 constant for a namelist instead got: ndens = 2,1
if I change the order, the error just blows up on whatever is the first command. I've tried to use 'cam_history_nl' and at the end of the segment '/', and the same error.

Perhaps the community knows what I am doing wrong.

Cheers,
-Jonathan


My example user_nl_cam
! Users should add all user specific namelist changes below in the form of
! namelist_var = new_namelist_value



ndens = 2,1
fincl1 = 'PRECC', 'PRECL', 'FSDS', 'QBOT', 'TBOT', 'UBOT', 'VBOT','PS','VQ','UQ','MT'
fincl2 = 'PRECC', 'PRECL', 'FSDS', 'QBOT', 'TBOT', 'UBOT', 'VBOT','PS','VQ','UQ','MT'
avgflag_pertape = 'A','A'
mfilt = 1,1460
nhtfrq = 0,-6
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
I cut/pasted your user_nl_cam from above and executed ./preview_namelists in a case directory I had, and it worked fine. Perhaps you have one or more hidden characters in your user_nl_cam file?

I would suggest that you create a brand new case directory, edit the user_nl_cam file by hand by typing in one of the namelist variables and verify that you can then run a ./preview_namelists on that. Then you can add in the other variables.
 
Top