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
Show JSON schema
{ "title": "SPEC2D", "description": "Frequency-direction 2D spectra.\n\n.. code-block:: text\n\n SPEC2D\n\nExamples\n--------\n\n.. ipython:: python\n :okwarning:\n\n from rompy.swan.subcomponents.output import SPEC2D\n spec = SPEC2D()\n print(spec.render())", "type": "object", "properties": { "model_type": { "default": "spec2d", "description": "Model type discriminator", "enum": [ "spec2d", "SPEC2D" ], "title": "Model Type", "type": "string" } }, "additionalProperties": false }
- field model_type: Literal['spec2d', 'SPEC2D'] = 'spec2d'#
Model type discriminator