[Ncep.list.wwatch3.discussion-group] namelist character delimiter

Tim Campbell tim.campbell at nrlssc.navy.mil
Wed Jan 13 16:17:26 UTC 2016


Clarification on the namelist topic that came up during the telecon today.  The default FORTRAN behavior for list directed and namelist output is no delimiter for character strings.  To set the character used to delimit character strings in list directed and nammelist output use the DELIM keyword with the WRITE.  The DELIM keyword allowed values are APOSTROPHE, QUOTE, or NONE.  To output namelists with character strings delimited by apostrophes use, for example,

	WRITE(IUNIT,NML=ww3_multi_nml,DELIM='APOSTROPHE')

Namelists written out with DELIM='APOSTROPHE' should be readable by FORTRAN without modification.

-Tim


More information about the Ncep.list.wwatch3.discussion-group mailing list