pyart.correct.selfconsistency_kdp_phidp#
- pyart.correct.selfconsistency_kdp_phidp(radar, zdr_kdpzh_dict, min_rhohv=0.92, filter_rain=True, max_phidp=20.0, smooth_wind_len=5, doc=None, fzl=None, thickness=700.0, parametrization='None', refl_field=None, phidp_field=None, zdr_field=None, temp_field=None, iso0_field=None, hydro_field=None, rhohv_field=None, kdpsim_field=None, phidpsim_field=None, temp_ref='temperature')[source]#
Estimates KDP and PhiDP in rain from Zh and ZDR using a selfconsistency relation between ZDR, Zh and KDP. Private method
- Parameters:
radar (Radar) – radar object
zdr_kdpzh_dict (dict) – dictionary containing a look up table relating ZDR with KDP/Zh for different elevations
min_rhohv (float) – minimum RhoHV value to consider the data valid
filter_rain (bool) – If True the hydrometeor classification is going to be used to filter out all gates that are not rain
max_phidp (float) – maximum PhiDP value to consider the data valid
smooth_wind_len (int) – length of the smoothing window
doc (float) – Number of gates at the end of each ray to to remove from the calculation.
fzl (float) – Freezing layer, gates above this point are not included in the correction.
thickness (float) – assumed melting layer thickness [m]
parametrization (str) – The type of parametrization for the self-consistency curves. Can be ‘None’, ‘Gourley’, ‘Wolfensberger’, ‘Louf’, ‘Gorgucci’ or ‘Vaccarono’. ‘None’ will use tables contained in zdr_kdpzh_dict.
refl_field, phidp_field, zdr_field (str) – Field names within the radar object which represent the reflectivity, differential phase and differential reflectivity fields. A value of None will use the default field name as defined in the Py-ART configuration file.
temp_field, iso0_field, hydro_field, rhohv_field (str) – Field names within the radar object which represent the temperature, the height relative to the iso0, the hydrometeor classification and the co-polar correlation fields. A value of None will use the default field name as defined in the Py-ART configuration file. They are going to be used only if available.
kdpsim_field, phidpsim_field (str) – Field names which represent the estimated specific differential phase and differential phase. A value of None will use the default field name as defined in the Py-ART configuration file.
temp_ref (str) – the field use as reference for temperature. Can be either temperature, height_over_iso0 or fixed_fzl
- Returns:
kdp_sim_dict, phidp_sim_dict (dict) – the KDP and PhiDP estimated fields and metadata