rompy.swan.subcomponents.time.STATIONARY#
- pydantic model rompy.swan.subcomponents.time.STATIONARY[source]#
Stationary time specification.
STATIONARY [time]
Note
The field time is optional to allow for the case where the user wants to set the time dynamically after instantiating this component.
Examples
In [148]: from rompy.swan.subcomponents.time import STATIONARY In [149]: stat = STATIONARY(time="2012-01-01T00:00:00") In [150]: print(stat.render()) STATIONARY time=20120101.000000
- Fields:
- field model_type: Literal['stationary', 'STATIONARY'] = 'stationary'#
Model type discriminator
- field tfmt: Literal[1, 2, 3, 4, 5, 6] | str = 1#
Format to render time specification
- field time: datetime = datetime.datetime(1970, 1, 1, 0, 0)#
Stationary time