radarx.retrieve.columns.kdp_column_metrics#
- radarx.retrieve.columns.kdp_column_metrics(obj, *, cell_area=None)[source]#
Number, area, volume and greatest top of the KDP columns of a map.
- Parameters:
obj (
xarray.Dataset) – The result ofkdp_column()(KDP_COLUMN_OBJECT,KDP_COLUMN_TOPandKDP_SLAB_DEPTH), on the horizontal dimensionsyandx(or the last two) and any leading (time) dimensions.cell_area (
floatorxarray.DataArray, optional) – Area of a grid cell in m2. Default: the product of the median spacings of theyandxcoordinates.
- Returns:
xarray.Dataset– Per leading index:KDP_COLUMN_COUNT(number of KDP columns),KDP_COLUMN_AREA(km2, of the grid points in a column),KDP_COLUMN_MAX_TOP(m, the highest top of the columns) andKDP_VOLUME(km3, the volume with KDP at or above the threshold in the slab, over the whole map).- Raises:
ValueError – If the grid spacing cannot be found and
cell_areais not given.
Notes
Dask and extra dimensions. The fields may have extra leading dimensions (for example
timeorvolume): each sweep is processed on its own and the result has the same extra dimensions. Dask arrays stay lazy: the result is a dask array and nothing is computed until it is (the sweep dimensions are rechunked into one chunk).See also
References
van Lier-Walqui, M., A. M. Fridlind, A. S. Ackerman, S. Collis, J. Helmus, D. R. MacGorman, K. North, P. Kollias, and D. J. Posselt, 2016: On polarimetric radar signatures of deep convection for model evaluation: Columns of specific differential phase observed during MC3E. Mon. Wea. Rev., 144, 737-758, https://doi.org/10.1175/MWR-D-15-0100.1
Examples
>>> metrics = radarx.retrieve.kdp_column_metrics(cols)