rompy.swan.components.inpgrid.WIND#
- pydantic model rompy.swan.components.inpgrid.WIND[source]#
Constant wind input field.
WIND [vel] [dir]
With this optional command, the user indicates that the wind field is constant.
Examples
In [77]: from rompy.swan.components.inpgrid import WIND In [78]: wind = WIND(vel=10.0, dir=270.0) In [79]: print(wind.render()) WIND vel=10.0 dir=270.0
- field dir: float [Required]#
Wind direction at 10 m elevation (in degrees, Cartesian or Nautical convention, see command SET)
- Constraints:
ge = -180.0
le = 360.0
- field model_type: Literal['wind', 'WIND'] = 'wind'#
Model type discriminator
- field vel: float [Required]#
Wind velocity at 10 m elevation (m/s)
- Constraints:
ge = 0.0