radarx.retrieve.tc_winds.tc_decompose#
- radarx.retrieve.tc_winds.tc_decompose(result, *, azimuth=None)[source]#
Winds of a GBVTD retrieval on a polar grid, split by wavenumber.
The coefficients of
gbvtd()belong to the anglepsiof the ring fit; they are evaluated at the physical azimuths with the exact relation betweenpsiand the azimuth seen from the centre (geometry ofradarx.retrieve.tc_winds; Lee et al. 1999 decompose the winds in the same way to assess the retrieval, their section 5). The waves above the Fourier order thatgbvtdwas asked for are zero, the waves that a ring could not resolve because of data gaps are NaN.- Parameters:
result (
xarray.Datasetorxarray.DataTree) – The result ofgbvtd()(for a volume, its tree). Dask-backed results are computed.azimuth (array-like, optional) – Azimuths (degrees clockwise from north, seen from the centre). Default every 5 degrees.
- Returns:
xarray.Datasetorxarray.DataTree– On the dimensionsradiusandazimuth:VT_SYMMETRIC(the axisymmetric tangential windVT0),VT_WAVENUMBER1andVT_WAVENUMBER2andVT_WAVENUMBER3(the asymmetric parts),VT(their sum),VR(the axisymmetric radial wind: the asymmetric radial wind is not retrieved) and the Cartesian windsUandVrelative to the mean wind and the positionsXandY(m east and north of the radar). Onradius:ASYMMETRY(the root mean square of the asymmetric tangential wind over the azimuths divided byVT0). Onradiusandwavenumber(1, 2, 3):AZIMUTHAL_AMPLITUDE(m s-1) andAZIMUTHAL_PHASE(degrees clockwise from north, seen from the centre, where the wave is largest), the Fourier components ofVTin azimuth, the waves that Lee et al. (1999) compare with the analytic winds. Onazimuth:RMW_AZIMUTH, the radius of the maximum ofVTat the azimuth (the radius of maximum wind ofVT0per azimuth, NaN at the edge of the radii). ScalarsCENTER_XandCENTER_Yand the radius of maximum wind ofVT0,RMW.- Raises:
ValueError – If
resultis not a result ofgbvtd().TypeError – If
resultis not a Dataset or a DataTree.
Notes
Dask. Dask arrays stay lazy: the result is a dask array and nothing is computed until it is.
References