pyart.correct.phase_proc_lp

pyart.correct.phase_proc_lp(radar, offset, debug=False, self_const=60000.0, low_z=10.0, high_z=53.0, min_phidp=0.01, min_ncp=0.5, min_rhv=0.8, fzl=4000.0, sys_phase=0.0, overide_sys_phase=False, nowrap=None, really_verbose=False, LP_solver='pyglpk', refl_field=None, ncp_field=None, rhv_field=None, phidp_field=None, kdp_field=None, unf_field=None, window_len=35)[source]

Phase process using a LP method [1].

Parameters :

radar : Radar

Input radar.

offset : float

Reflectivity offset in dBz.

debug : bool, optional

True to print debugging information.

self_const : float, optional

Self consistency factor.

low_z : float

Low limit for reflectivity. Reflectivity below this value is set to this limit.

high_z : float

High limit for reflectivity. Reflectivity above this value is set to this limit.

min_phidp : float

Minimum Phi differential phase.

min_ncp : float

Minimum normal coherent power.

min_rhv : float

Minimum copolar coefficient.

fzl : :

Maximum altitude.

sys_phase : float

System phase in degrees.

overide_sys_phase: bool. :

True to use sys_phase as the system phase. False will calculate a value automatically.

nowrap : int or None.

Gate number to begin phase unwrapping. None will unwrap all phases.

really_verbose : bool

True to print LPX messaging. False to suppress.

LP_solver : ‘pyglpk’ or ‘cvxopt’

Module to use to solve LP problem.

refl_field, ncp_field, rhv_field, phidp_field, kdp_field: str :

Name of field in radar which contains the horizonal reflectivity, normal coherent power, copolar coefficient, differential phase shift, and differential phase. A value of None for any of these parameters will use the default field name as defined in the Py-ART configuration file.

unf_field : str

Name of field which will be added to the radar object which will contain the unfolded differential phase. Metadata for this field will be taken from the phidp_field. A value of None will use the default field name as defined in the Py-ART configuration file.

window_len : int

Length of Sobel window applied to PhiDP field when prior to calculating KDP.

Returns :

reproc_phase : dict

Field dictionary containing processed differential phase shifts.

sob_kdp : dict

Field dictionary containing recalculated differential phases.

References

[1] Giangrande, S.E., R. McGraw, and L. Lei. An Application of Linear Programming to Polarimetric Radar Differential Phase Processing. J. Atmos. and Oceanic Tech, 2013, 30, 1716.

Previous topic

pyart.correct.calculate_attenuation

Next topic

pyart.correct.find_time_in_interp_sonde

This Page