radarx.retrieve.tc_winds.gbvtd#

radarx.retrieve.tc_winds.gbvtd(obj, center=None, *, center_latlon=None, field=None, radii=None, min_radius=1000.0, max_radius=80000.0, radius_step=1000.0, ring_width=2000.0, max_wavenumber=4, mean_wind=None, min_points=30, max_gap=120.0, geometric_limit=False, k_e=1.3333333333333333, n_threads=None, engine='auto')[source]#

Axisymmetric and wavenumber-1 to 3 winds of a vortex from one radar.

Fits Fourier series to the Doppler velocity on rings around center (the ground-based velocity track display of Lee et al. 1999, equations in radarx.retrieve.tc_winds) with the closure that the asymmetric radial wind is zero.

Parameters:
  • obj (xarray.DataArray, xarray.Dataset or xarray.DataTree) – A dealiased plan position indicator of the Doppler velocity, see tc_center(). For a volume every sweep is processed.

  • center (tuple of float or xarray.Dataset or xarray.DataTree, optional) – (x, y) of the circulation centre in m east and north of the radar, or the result of tc_center() (for a volume, its tree). A lazy tc_center result is computed.

  • center_latlon (tuple of float, optional) – (latitude, longitude) of the centre instead of center.

  • field (str, optional) – Name of the velocity field. Default: VRADH, VRAD and the like.

  • radii (array-like, optional) – Ring radii (m). Default min_radius to max_radius in steps of radius_step; a ring that does not fit (the radar inside it, too few gates or a wide gap) is NaN.

  • min_radius, max_radius, radius_step (float, optional) – Default radii (m): 1 to 80 km in 1 km steps.

  • ring_width (float, optional) – Full width of the triangular weight of a ring (m). Default 2000.

  • max_wavenumber (int, optional) – Highest Fourier order of the fit (1 to 4), reduced where the data have wide gaps. Default 4 (nine coefficients), which gives the wavenumbers 0 to 3 of the vortex; the wavenumber n needs the order n + 1.

  • mean_wind (tuple of float, optional) – (u, v) of the mean wind or storm motion (m s-1). Its cross-beam part is removed from VT0 (Eq. 20 of Lee et al. 1999); without it the cross-beam mean wind is aliased into VT0, with an error that grows with the radius as sin(alpha_max). The winds are relative to the mean wind. Default None: not removed.

  • min_points (int, optional) – Fewest gates in a ring. Default 30.

  • max_gap (float, optional) – Largest angular gap (degrees) of the data of a ring. Default 120.

  • geometric_limit (bool, optional) – Limit the Fourier order of a ring by sin(alpha_max) = R / R_T: the wavenumbers 1, 2 and 3 are fitted only up to 0.7, 0.5 and 0.33 (the limits for a 20 percent error of Lee et al. 1999, used in Lee et al. 2000), so that a ring beyond them has the wavenumber 0 only. Default False.

  • k_e (float, optional) – Effective Earth radius factor of the beam geometry. Default 4/3.

  • n_threads (int, optional) – Threads of the compiled kernel. Default: all cores.

  • engine ({"auto", "compiled", "numpy"}, optional) – Implementation. "auto" (default) prefers the compiled kernel.

Returns:

xarray.Dataset or xarray.DataTree – On the dimension radius (m): VT0 and VR0 (axisymmetric tangential and radial wind, m s-1), VT1_COS and VT1_SIN (the wavenumber-1 tangential wind in the angle psi of the fit), VT1_AMPLITUDE (m s-1) and VT1_AZIMUTH (degrees clockwise from north, seen from the centre, where the wavenumber-1 term in psi alone is largest: a rough position, see tc_decompose() for the wave in azimuth), VT2_COS, VT2_SIN and VT2_AMPLITUDE and the same for the wavenumber 3 (VT3_COS, VT3_SIN, VT3_AMPLITUDE), VM_ALONG (the along-beam mean wind of the fit, A0 + A2 + A4), and N_POINTS, DATA_GAP, FIT_ORDER and FIT_RMS of the fits. Scalars: CENTER_X, CENTER_Y (m), CENTER_LATITUDE, CENTER_LONGITUDE, RMW (the radius of the maximum of VT0 refined with a parabola, NaN if the maximum is at the edge of the radii) and VT_MAX. For a volume a DataTree with one node per sweep. The input is not changed.

Raises:
  • ValueError – For invalid options or a sweep without the geometry, or a centre that is not finite or at the radar.

  • TypeError – If obj is not an xarray object.

  • ImportError – If engine="compiled" and the kernel is not available.

Notes

The equations are Eqs. 3 to 27 of Lee et al. (1999) and were compared with them one by one (Eq. 20 is printed with +B3, the code has -B3, which follows from Eqs. 15 and 18; see radarx.retrieve.tc_winds). The retrieval is sensitive to the centre. The asymmetric radial wind is assumed zero; a real one leaks into the tangential wind and the along-beam mean wind. A wave of the azimuth is distorted by the fit in psi, more for a larger sin(alpha_max) = R / R_T and a higher wavenumber.

Dask. Dask arrays stay lazy: the result is a dask array and nothing is computed until it is.

References