pyart.retrieve.calculate_snr_from_reflectivity#
- pyart.retrieve.calculate_snr_from_reflectivity(radar, refl_field=None, snr_field=None, toa=25000.0)[source]#
Calculate the signal to noise ratio, in dB, from the reflectivity field.
- Parameters:
radar (Radar) – Radar object from which to retrieve reflectivity field.
refl_field (str, optional) – Name of field in radar which contains the reflectivity. None will use the default field name in the Py-ART configuration file.
snr_field (str, optional) – Name to use for snr metadata. None will use the default field name in the Py-ART configuration file.
toa (float, optional) – Height above which to take noise floor measurements, in meters.
- Returns:
snr (field dictionary) – Field dictionary containing the signal to noise ratio.