rompy.swan.components.output.NESTOUT#

pydantic model rompy.swan.components.output.NESTOUT[source]#

Write to 2D boundary spectra.

NESTOUT 'sname' 'fname' (OUTPUT [tbegnst] [deltnst] ->SEC|MIN|HR|DAY)

Write to data file two-dimensional action density spectra (relative frequency) along the boundary of a nested grid (see command NGRID) to be used in a subsequent SWAN run.

Note

Cannot be used in 1D-mode.

Examples

In [1]: from rompy.swan.components.output import NESTOUT

In [2]: out = NESTOUT(
   ...:     sname="outnest",
   ...:     fname="./nestout.swn",
   ...:     times=dict(tbeg="2012-01-01T00:00:00", delt="PT30M", dfmt="min"),
   ...: )
   ...: 

In [3]: print(out.render())
NESTOUT sname='outnest' fname='./nestout.swn' OUTPUT tbegnst=20120101.000000 deltnst=30.0 MIN
Fields:
Validators:

field model_type: Literal['nestout', 'NESTOUT'] = 'nestout'#

Model type discriminator

Validated by:
cmd() str[source]#

Command file string for this component.

property suffix: str#