radarx.retrieve.coldpool.baroclinic_generation#
- radarx.retrieve.coldpool.baroclinic_generation(buoyancy, *, x='x', y='y', u=None, v=None, storm_motion=(0.0, 0.0), n_threads=None, engine='auto')[source]#
Baroclinic generation of horizontal vorticity, \(\partial B / \partial y\) and \(-\partial B / \partial x\).
The Boussinesq vorticity equations whose cross-section form is \(\partial\eta/\partial t = -\partial B/\partial x\) in Rotunno et al. [1] (equation number not checked against the paper). The streamwise/crosswise split follows the streamwise-vorticity concept of Davies-Jones [2]; the projection onto the storm-relative wind is the radarx implementation.
- buoyancyxarray.DataArray
Buoyancy (m s-2) on a grid with horizontal dimensions
yandx(coordinates in m), and any others (height, time), e.g.buoyancy(theta_v, reference)of a radarx grid, or \(g\,\Delta T / T\) of the accumulated evaporative cooling ofradarx.retrieve.integrate_evaporation(). A vertical cross-section withoutygives only \(-\partial B / \partial x\).- x, ystr, optional
Horizontal dimensions. Default
"x"and"y".- u, vxarray.DataArray, optional
Wind components along
xandy(m s-1), e.g. multi-Doppler winds, broadcastable againstbuoyancy. With them the generation is split into streamwise and crosswise parts relative to the storm-relative wind.- storm_motiontuple of float or xarray.Dataset, optional
Storm motion
(cx, cy)(m s-1) subtracted fromuandv, or a Dataset withuandv(e.g.radarx.retrieve.bunkers_storm_motion()). Default (0, 0).- n_threadsint, optional
Threads for the compiled kernel. Default: all cores.
- engine{“auto”, “compiled”, “numpy”}, optional
Kernel implementation.
- xarray.Dataset
dB_dxanddB_dy(s-2), the generation ratesvorticity_x_generation(\(\partial B/\partial y\)),vorticity_y_generation(\(-\partial B/\partial x\)) andhorizontal_vorticity_generation(their magnitude), all in s-2, and, with winds,streamwise_vorticity_generationandcrosswise_vorticity_generation(s-2).
Dask. This function computes the dask array: it works on small in-memory data. The input is loaded into memory and the result is held in memory.