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.Dataset or xarray.DataTree) – The result of gbvtd() (profile VT0) or tc_ring_stats() (profile MEAN) on the dimension radius; for a volume, its tree. Dask-backed results are computed.

  • variable (str, optional) – The profile to analyse. Default VT0 if the dataset has it, else MEAN.

  • 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) for OUTER_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 of VR0 if the dataset has it). Default: True for VT0, else False.

  • latitude (float, optional) – Latitude (degrees) for the Coriolis parameter of the absolute angular momentum. Default: CENTER_LATITUDE of the result if it has it; without a latitude only the relative angular momentum is given.

Returns:

xarray.Dataset or xarray.DataTree – Scalars: PEAK_RADIUS and PEAK_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_EDGE and WIDTH (at half its prominence), SECONDARY_RADIUS and SECONDARY_VALUE (the highest other maximum), MOAT_RADIUS and MOAT_VALUE (the minimum between the two), N_PEAKS, OUTER_LEVEL_RADIUS on level, ASYMMETRY1 to ASYMMETRY3 (the amplitude of the wavenumber at the peak relative to the profile, if the dataset has the amplitudes) and the centre of the input. On radius with kinematics: VORTICITY, ANGULAR_VELOCITY, RELATIVE_ANGULAR_MOMENTUM, ABSOLUTE_ANGULAR_MOMENTUM and DIVERGENCE. For a volume a DataTree with one node per sweep.

Raises:
  • ValueError – If the dataset has no radius profile of variable.

  • TypeError – If result is 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