radarx.retrieve.wind_profile.storm_relative_wind#

radarx.retrieve.wind_profile.storm_relative_wind(profile, storm_motion, *, normal=None)[source]#

Storm-relative wind profile.

Parameters:
  • profile (xarray.Dataset) – u and v (m s-1).

  • storm_motion (tuple of float or xarray.Dataset) – Storm motion (cx, cy) (m s-1) or a Dataset with u and v (e.g. bunkers_storm_motion(), or a squall-line motion).

  • normal (float or xarray.DataArray, optional) – Azimuth (degrees clockwise from north) of a direction, e.g. the normal to a squall line toward its inflow; the storm-relative wind along it is returned as storm_relative_normal (negative: flowing into the line from the inflow side).

Returns:

xarray.Dataset – storm_relative_u, storm_relative_v, storm_relative_speed, storm_relative_direction and, with normal, storm_relative_normal, on the coordinates of profile.