radtraq.utils.range_correction

radtraq.utils.range_correction(obj, variable, height_variable=None)[source]

Corrects reflectivity for range to help get the correct noise floor values

Parameters:
  • obj (Xarray.Dataset) – Xarray Dataset containing data

  • variable (string) – Varible name to correct

  • height_variable (string) – Height varible name to use in correction. If not provided will attempt to determine variable name from coordinates on data variable.

Returns:

data – Returns a range corrected DataArray matching varible name

Return type:

Xarray.DataArray