[MITgcm-devel] exf_readparms: EXF_NML_04

Martin Losch Martin.Losch at awi.de
Wed Jul 27 06:12:04 EDT 2011


Dear EXF'lers and other namelisters,

do we have a general policy for "optional" namelists? For example, the namelist EXF_NML_04 is pretty empty) when USE_EXF_INTERPOLATION is undefined (it contains only idummy, and that is probably the case only because you cannot have empty namelists?). Still it is read. The next namelist (EXF_NML_SGRUNOFF) is alway defined, but only read when ALLOW_ICEFRONT is defined, the same is true for EXF_NML_OBCS.

Wouldn't it make sense to define and read these namelists, only when the appropriate CPP flags are set? As far as I know it doesn't matter to have extra namelists in a file, that are not read, but it does matter when a namelist is read that contains entries that are not defined (as currently possible with EXF_NML_04).

What do you think about this?

Martin




More information about the MITgcm-devel mailing list