pyrad.proc.process_intercomp_with_QC#
- pyrad.proc.process_intercomp_with_QC(procstatus, dscfg, radar_list=None)[source]#
Intercomparison between the time-averaged value of an arbitrary radar field for two radars (at co-located gates), including QC based on PhiDP and a time-averaging flag field.
- Expected dscfg[“datatype”] content (for each radar):
one “main” datatype to be intercompared (ANY pyrad-supported datatype),
one PhiDP datatype: “PhiDP” or “PhiDPc”,
one flag datatype: “time_avg_flag”
- Output:
in procstatus==1: intercomp_dict contains rad1_val / rad2_val (the main field), plus rad1_PhiDPavg/rad2_PhiDPavg and rad1_Flagavg/rad2_Flagavg (kept for QC/debug)
in procstatus==2: final intercomp_dict contains rad1_val / rad2_val only (after QC)
Notes
This function keeps using read_colocated_data_time_avg(…) in procstatus==2. That reader likely returns the “main field” column as the same slot previously called rad*_dBZ. Here we treat it generically as rad*_val.