rompy.swan.subcomponents.spectrum.JONSWAP#

pydantic model rompy.swan.subcomponents.spectrum.JONSWAP[source]#

Jonswap spectral shape.

JONSWAP [gamma]

Examples

In [109]: from rompy.swan.subcomponents.spectrum import JONSWAP

In [110]: shape = JONSWAP(gamma=3.3)

In [111]: print(shape.render())
JONSWAP gamma=3.3
Fields:
field gamma: float = 3.3#

Peak enhancement parameter of the JONSWAP spectrum.

Constraints:
  • gt = 0.0

field model_type: Literal['jonswap', 'JONSWAP'] = 'jonswap'#

Model type discriminator

cmd() str[source]#