cape.pyover.options.overnml
: OVERFLOW namelist options¶
This module provides a class to mirror the Fortran namelist capability. The
module provides a class, pyOver.options.overnml.OverNml
, which
interprets the settings of the "Overflow"
section of the master JSON file.
These settings are then applied to the main OVERFLOW input file, the
overflow.inp
namelist.
At this time, nonunique section names are not allowed. To modify parameters in
repeated sections, use the options in the "Grids"
section using
pyOver.options.gridSystem.GridSystem
.
- See also:
cape.pyover.options.gridSystem
cape.namelist2
- class cape.pyover.options.overnmlopts.OverNmlOpts(*args, **kw)¶
- get_namelist_var(sec, key, j=None, **kw)¶
Select a namelist key from a specified section
Roughly, this returns
opts[sec][key]
.- Call:
>>> val = opts.get_namelist_var(sec, key, j=None, **kw)
- Inputs:
- Outputs:
- val:
object
Value from JSON options
- val:
- Versions:
2016-02-01
@ddalle
: v1.02023-05-16
@ddalle
: v2.0; useOptionsDict