rompy.swan.subcomponents.output.SPEC2D#

pydantic model rompy.swan.subcomponents.output.SPEC2D[source]#

Frequency-direction 2D spectra.

SPEC2D

Examples

In [1]: from rompy.swan.subcomponents.output import SPEC2D

In [2]: spec = SPEC2D()

In [3]: print(spec.render())
SPEC2D
Fields:
field model_type: Literal['spec2d', 'SPEC2D'] = 'spec2d'#

Model type discriminator

cmd() str[source]#

Command file string for this subcomponent.