pyart.correct.calc_zdr_offset#
- pyart.correct.calc_zdr_offset(radar, gatefilter=None, height_range=None, zdr_var=None)[source]#
Function for calculating the ZDR bias from a VPT scan.
- Parameters:
radar (PyART radar object) – Radar object with radar data
gatefilter (PyART GateFilter) – Gatefilter for filtering out data for calculating ZDR bias
height_range (tuple) – The minimum and maximum heights in meters for the scan.
zdr_var (string or None) – The name of the ZDR variable. Set to None to have PyART try to determine this automatically.
- Returns:
profiles (dict) – The mean vertical profiles of each radar moment are extracted along with the ZDR bias.