radarx.retrieve.wind_profile.layer_mean_wind#
- radarx.retrieve.wind_profile.layer_mean_wind(profile, bottom=0.0, top=6000.0, *, dim='height', height=None, ground=None, n_threads=None, engine='auto')[source]#
Height-weighted (non-pressure-weighted) mean wind of a layer.
The trapezoidal integral of the winds over height divided by the layer depth. The 0-6 km default is a radarx choice (it is the layer of the mean wind in the Bunkers et al. method,
bunkers_storm_motion()).- Parameters:
profile (
xarray.Dataset) –uandv(m s-1) on the vertical dimensiondim.bottom, top (
float, optional) – Layer limits (m aboveground). Default 0-6 km.dim, height, ground, engine, n_threads (optional) – As in
bulk_shear().
- Returns:
xarray.Dataset–u,v,speedanddirectionof the mean wind.