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