radarx.retrieve.tc_winds.synthetic_vortex#
- radarx.retrieve.tc_winds.synthetic_vortex(center=(60000.0, 0.0), vmax=50.0, rmw=20000.0, *, xt=1.0, radial=None, asymmetry=None, radial_asymmetry=None, absolute_asymmetry=None, mean_wind=(0.0, 0.0), height_scale=None, elevation=0.5, noise=0.0, seed=0, azimuth_step=1.0, range_step=250.0, max_range=150000.0, blank_sectors=(), site=(20.0, 80.0, 50.0), k_e=1.3333333333333333)[source]#
Doppler velocity of an analytic tropical cyclone seen by one radar.
The wind at a gate is the sum of a uniform mean wind, the tangential wind \(V_T = V_{T0}(R)\,[1 + \sum_n A_n \cos n(\gamma - \delta_n)]\) and the radial wind \(V_R = V_{R0}(R) + \sum_n a_n \cos n(\gamma - \delta_n)\), with \(V_{T0}, V_{R0}\) from
vortex_profile(), the distance \(R\) from the centre and the azimuth \(\gamma\) of the gate seen from the centre in degrees clockwise from north. The Doppler velocity is the projection of the horizontal wind on the beam with the exact geometry (no approximation of the mean-wind term), \(V_d = (u \sin\alpha + v \cos\alpha)\cos\phi_g\), with the azimuth \(\alpha\) and the local beam elevation \(\phi_g = \phi_0 + s/(k_e a)\) of the effective Earth radius model. The vertical wind and fall speed are zero. This is the test vortex of Lee et al. (1999) (section 3: a radar at the origin, the vortex 60 km away, 50 m s-1 at 20 km, an asymmetry of 10 m s-1 per wavenumber and a mean wind of 10 m s-1; useabsolute_asymmetryfor it), also used by Lee and Marks (2000) and Chen et al. (2013); the asymmetric radial wind is zero by default, as there.- Parameters:
center (
tupleoffloat, optional) –(x, y)of the vortex centre in m east and north of the radar. Default(60000, 0).vmax, rmw (
float, optional) – Maximum tangential wind (m s-1) and radius of maximum wind (m).xt (
float, optional) – Exponent of the decay outside the radius of maximum wind.radial (
tupleoffloat, optional) –(c1, c2)of the axisymmetric radial wind, seevortex_profile().asymmetry (
dict, optional) –{n: (A_n, delta_n)}: the relative amplitude of the wavenumber-ntangential asymmetry and the azimuth (degrees clockwise from north) of its maximum.radial_asymmetry (
dict, optional) –{n: (a_n, delta_n)}: the amplitude (m s-1, the same at all radii) of an asymmetric radial wind. GBVTD assumes that there is none.absolute_asymmetry (
dict, optional) –{n: (a_n, delta_n)}: wavenumber-ntangential wind of the amplitudea_n(m s-1, the same at all radii) added to the tangential wind, as in the test vortex of Lee et al. (1999), where every wavenumber has 10 m s-1.asymmetryis relative to the axisymmetric wind instead.mean_wind (
tupleoffloat, optional) –(u, v)of the uniform mean wind (m s-1).height_scale (
float, optional) – If given (m), the vortex wind (not the mean wind) is multiplied byexp(-z / height_scale)with the beam heightzabove the radar, so that rings at different ranges of a plan position indicator see different winds.elevation (
float, optional) – Beam elevation (degrees). Default 0.5.noise (
float, optional) – Standard deviation (m s-1) of Gaussian noise added to the velocity.seed (
int, optional) – Seed of the noise.azimuth_step, range_step, max_range (
float, optional) – Ray spacing (degrees), gate spacing and the last gate (m).blank_sectors (sequence of
tuple, optional) –(start, end)azimuths (degrees clockwise from north, seen from the vortex centre) in which there are no data, to test data gaps on the rings.site (
tupleoffloat, optional) –(latitude, longitude, altitude)of the radar (degrees, degrees, m).k_e (
float, optional) – Effective Earth radius factor of the beam geometry. Default 4/3.
- Returns:
xarray.Dataset– A sweep with the dimensionsazimuthandrange(m),elevationalong the rays, the radar site, the Doppler velocityVRADH(m s-1), the beam heightBEAM_HEIGHT(m above the radar) and the true tangential and radial windsVT_TRUEandVR_TRUE(m s-1, relative to the mean wind) of every gate. The parameters of the vortex are in the attributes.
References