rompy.swan.components.inpgrid.ICE#

pydantic model rompy.swan.components.inpgrid.ICE[source]#

Constant wind input field.

ICE [aice] [hice]

With this optional command, the user indicates that one or more ice fields are constant.

Examples

In [66]: from rompy.swan.components.inpgrid import ICE

In [67]: ice = ICE(aice=0.1, hice=0.1)

In [68]: print(ice.render())
ICE aice=0.1 hice=0.1
Fields:
field aice: float [Required]#

Areal ice fraction, a number from 0 to 1

Constraints:
  • ge = 0.0

  • le = 1.0

field hice: float [Required]#

Ice thickness (m)

Constraints:
  • ge = 0.0

field model_type: Literal['ice', 'ICE'] = 'ice'#

Model type discriminator

cmd()[source]#

Return the string or list of strings to render the component to the CMD.