pyart.correct.smooth_phidp_double_window#
- pyart.correct.smooth_phidp_double_window(radar, ind_rmin=10, ind_rmax=500, min_rcons=11, zmin=20.0, zmax=40, swind_len=11, smin_valid=6, lwind_len=31, lmin_valid=16, zthr=40.0, psidp_field=None, refl_field=None, phidp_field=None)[source]#
correction of the system offset and smoothing using two window
- Parameters:
radar (Radar) – Radar object for which to determine the system phase.
ind_rmin, ind_rmax (int) – Min and max range index where to look for continuous precipitation
min_rcons (int) – The minimum number of consecutive gates to consider it a rain cell.
zmin, zmax (float) – Minimum and maximum reflectivity to consider it a rain cell
swind_len (int) – Length of the short moving window used to smooth
smin_valid (int) – Minimum number of valid bins to consider the short window smooth data valid
lwind_len (int) – Length of the long moving window used to smooth
lmin_valid (int) – Minimum number of valid bins to consider the long window smooth data valid
zthr (float) – reflectivity value above which the short window is used
psidp_field (str) – Field name within the radar object which represent the differential phase shift. A value of None will use the default field name as defined in the Py-ART configuration file.
refl_field (str) – Field name within the radar object which represent the reflectivity. A value of None will use the default field name as defined in the Py-ART configuration file.
phidp_field (str) – Field name within the radar object which represent the corrected differential phase shift. A value of None will use the default field name as defined in the Py-ART configuration file.
- Returns:
phidp_dict (dict) – The corrected phidp field