radarx.retrieve.tc_diagnostics.tc_structure#
- radarx.retrieve.tc_diagnostics.tc_structure(result, variable=None, *, prominence=None, levels=None, kinematics=None, latitude=None)[source]#
Eyewall, secondary maxima and wind radii of a radial profile of a vortex.
- Parameters:
result (
xarray.Datasetorxarray.DataTree) – The result ofgbvtd()(profileVT0) ortc_ring_stats()(profileMEAN) on the dimensionradius; for a volume, its tree. Dask-backed results are computed.variable (
str, optional) – The profile to analyse. DefaultVT0if the dataset has it, elseMEAN.prominence (
float, optional) – Smallest prominence (in the units of the profile) of a local maximum that counts: the height of the maximum above the higher of the two lowest values that separate it from a higher maximum or the end of the profile. Default: 10 percent of the range of the profile.levels (sequence of
float, optional) – Levels (in the units of the profile, e.g. 17.5, 25.7 and 32.9 m s-1) forOUTER_LEVEL_RADIUS, the radius outside the primary maximum where the profile first falls below the level (linear interpolation). Default None: not computed.kinematics (
bool, optional) – Also give the vorticity, the angular velocity and the angular momentum of the profile, as the axisymmetric tangential wind (and the divergence ofVR0if the dataset has it). Default: True forVT0, else False.latitude (
float, optional) – Latitude (degrees) for the Coriolis parameter of the absolute angular momentum. Default:CENTER_LATITUDEof the result if it has it; without a latitude only the relative angular momentum is given.
- Returns:
xarray.Datasetorxarray.DataTree– Scalars:PEAK_RADIUSandPEAK_VALUE(the highest maximum, refined with a parabola; NaN if the profile has no maximum that reaches the prominence, for instance at the edge of the radii),INNER_EDGE,OUTER_EDGEandWIDTH(at half its prominence),SECONDARY_RADIUSandSECONDARY_VALUE(the highest other maximum),MOAT_RADIUSandMOAT_VALUE(the minimum between the two),N_PEAKS,OUTER_LEVEL_RADIUSonlevel,ASYMMETRY1toASYMMETRY3(the amplitude of the wavenumber at the peak relative to the profile, if the dataset has the amplitudes) and the centre of the input. Onradiuswithkinematics:VORTICITY,ANGULAR_VELOCITY,RELATIVE_ANGULAR_MOMENTUM,ABSOLUTE_ANGULAR_MOMENTUMandDIVERGENCE. For a volume a DataTree with one node per sweep.- Raises:
ValueError – If the dataset has no
radiusprofile ofvariable.TypeError – If
resultis not a Dataset or a DataTree.
Notes
Dask. This function computes the dask array: the profile of a ring analysis is short and is analysed in memory. The input is loaded into memory and the result is held in memory.
References