radtraq.proc.calc_zdr_offset
- radtraq.proc.calc_zdr_offset(obj, zdr_var=None, thresh=None)[source]
Function for extracting vertical profile over a location from a RHI scan
- Parameters:
obj (Xarray.Dataset) – Xarray object with radar data
zdr_var (string) – Variable name for differential reflectivity
thresh (dict) – Disctionary of variables and values following the form of thresh = {‘cross_correlation_ratio_hv’: [0.995, 1], ‘reflectivity’: [10, 30], ‘range’: [1000, 3000]}
- Returns:
obj – Xarray Dataset with profile extracted and new coordinate variable height added or if unable to find profile returns None.
- Return type:
Xarray.Dataset or None