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 inradarx.retrieve.tc_winds) with the closure that the asymmetric radial wind is zero.- Parameters:
obj (
xarray.DataArray,xarray.Datasetorxarray.DataTree) – A dealiased plan position indicator of the Doppler velocity, seetc_center(). For a volume every sweep is processed.center (
tupleoffloatorxarray.Datasetorxarray.DataTree, optional) –(x, y)of the circulation centre in m east and north of the radar, or the result oftc_center()(for a volume, its tree). A lazytc_centerresult is computed.center_latlon (
tupleoffloat, optional) –(latitude, longitude)of the centre instead ofcenter.field (
str, optional) – Name of the velocity field. Default:VRADH,VRADand the like.radii (array-like, optional) – Ring radii (m). Default
min_radiustomax_radiusin steps ofradius_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 (
tupleoffloat, optional) –(u, v)of the mean wind or storm motion (m s-1). Its cross-beam part is removed fromVT0(Eq. 20 of Lee et al. 1999); without it the cross-beam mean wind is aliased intoVT0, with an error that grows with the radius assin(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 bysin(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.Datasetorxarray.DataTree– On the dimensionradius(m):VT0andVR0(axisymmetric tangential and radial wind, m s-1),VT1_COSandVT1_SIN(the wavenumber-1 tangential wind in the anglepsiof the fit),VT1_AMPLITUDE(m s-1) andVT1_AZIMUTH(degrees clockwise from north, seen from the centre, where the wavenumber-1 term inpsialone is largest: a rough position, seetc_decompose()for the wave in azimuth),VT2_COS,VT2_SINandVT2_AMPLITUDEand 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), andN_POINTS,DATA_GAP,FIT_ORDERandFIT_RMSof the fits. Scalars:CENTER_X,CENTER_Y(m),CENTER_LATITUDE,CENTER_LONGITUDE,RMW(the radius of the maximum ofVT0refined with a parabola, NaN if the maximum is at the edge of the radii) andVT_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
objis 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; seeradarx.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 inpsi, more for a largersin(alpha_max) = R / R_Tand a higher wavenumber.Dask. Dask arrays stay lazy: the result is a dask array and nothing is computed until it is.
References