pyrad.proc.process_visibility#
- pyrad.proc.process_visibility(procstatus, dscfg, radar_list=None)[source]#
Gets the visibility in percentage from the minimum visible elevation. Anything with elevation lower than the minimum visible elevation plus and offset is set to 0 while above is set to 100.
- Parameters:
procstatus (int) – Processing status: 0 initializing, 1 processing volume, 2 post-processing
dscfg (dictionary of dictionaries) –
data set configuration. Accepted Configuration Keywords:
datatype : string. Dataset keyword arbitrary data type supported by pyrad offset : float. Dataset keyword The offset above the minimum visibility that must be filtered
radar_list (list of Radar objects) – Optional. list of radar objects
- Returns:
new_dataset (dict) – dictionary containing the output field “visibility”
ind_rad (int) – radar index