rompy.swan.subcomponents.output.SPEC1D#

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

Frequency 1D spectra.

SPEC1D

Examples

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

In [2]: spec = SPEC1D()

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

Model type discriminator

cmd() str[source]#

Command file string for this subcomponent.