How long can namelist be?

Kevin Joseph Rocque (rocque@atmos.umd.edu)
Thu, 23 Feb 1995 11:01:16 -0500


From: rocque@atmos.umd.edu (Kevin Joseph Rocque)
Date: Thu, 23 Feb 1995 11:01:16 -0500
Message-Id: <9502231601.AA03540@jull14.umd.edu.>
To: ccm-users@ncar.ucar.edu
Subject: How long can namelist be?

I got the following error message when attempting to run the CCM2:

lib-1320 ./ccm.xx.57871: UNRECOVERABLE library error
The input record is too long for a namelist READ.

The error occured because of the following namelist parameter. I was
trying to save MSS space by not outputting all vars. I realize I
could have done a branch run and written the desired fields to an
auxiliary tape, but I thought this might be easier:

EXCLUDE = 'PHIS',' U','V','TA01','VD01','DC01','DTH','ORO','WET','SNOWH','PRECL
','PRECC','SHFLX','LHFLX','QFLX','PBLH','USTAR','TPERT','QPERT','DTV','FSNS','FL
NS','FLNT','FSNT','FLNTC','FSNTC','FLNSC','FSNSC','OMEGA','DQP','TAUX','TAUY','S
RFRAD','TS1','TS2','TS3','TS4','SOLIN','UTGW','VTGW','TAUGWX','TAUGWY','DTCOND',
'CMFDT','CMFDQ','CMFMC','CMFSL','CMFLQ',

I have two questions:

1) Does anyone know what is the maximum number of characters a namelist
can have? (Is it 256 as in most cases?)

2) Is there a way to continue the namelist parameters on the next line?
I have a few thoughts, but I didn't want to waste the gaus trying them
out:
- put a "\" at the end of each line as done in UNIX,
- use multiple EXCLUDE statements,
- use the first column (analogous to FORTRAN)

Thanks,
Kevin Rocque
rocque@atmos.umd.edu