lair.air.wind_components#

lair.air.wind_components(speed, wind_direction)[source]#

Calculate the u and v components of the wind.

Parameters:
  • speed (float) – Wind speed in m/s.

  • wind_direction (float) – Wind direction in degrees clockwise from North (specified as blowing from).

Returns:

tuple[float, float] – u and v components of the wind.

Return type:

tuple[Any, Any]