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 of kdp_column() (KDP_COLUMN_OBJECT, KDP_COLUMN_TOP and KDP_SLAB_DEPTH), on the horizontal dimensions y and x (or the last two) and any leading (time) dimensions.

  • cell_area (float or xarray.DataArray, optional) – Area of a grid cell in m2. Default: the product of the median spacings of the y and x coordinates.

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) and KDP_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_area is not given.

Notes

Dask and extra dimensions. The fields may have extra leading dimensions (for example time or volume): 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

kdp_column

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)