rompy.swan.subcomponents.startup.CARTESIAN#
- pydantic model rompy.swan.subcomponents.startup.CARTESIAN[source]#
Cartesian coordinates.
CARTESIAN
All locations and distances are in m. Coordinates are given with respect to x- and y-axes chosen by the user in the various commands.
Examples
In [128]: from rompy.swan.components.startup import CARTESIAN In [129]: coords = CARTESIAN() In [130]: print(coords.render()) CARTESIAN
Show JSON schema
{ "title": "CARTESIAN", "description": "Cartesian coordinates.\n\n.. code-block:: text\n\n CARTESIAN\n\nAll locations and distances are in m. Coordinates are given with respect\nto x- and y-axes chosen by the user in the various commands.\n\nExamples\n--------\n\n.. ipython:: python\n :okwarning:\n\n from rompy.swan.components.startup import CARTESIAN\n coords = CARTESIAN()\n print(coords.render())", "type": "object", "properties": { "model_type": { "default": "cartesian", "description": "Model type discriminator", "enum": [ "cartesian", "CARTESIAN" ], "title": "Model Type", "type": "string" } }, "additionalProperties": false }
- field model_type: Literal['cartesian', 'CARTESIAN'] = 'cartesian'#
Model type discriminator