pyrad.io.get_iso0_ref#
- pyrad.io.get_iso0_ref(radar, iso0_data, time_index, statistic='avg_by_dist')[source]#
gets the is0 that has to be taken as reference. The iso0 is an average of the iso0 points available weighted by the distance to the radar. If no points are available is assumed that the iso0 is at ground level and the altitude of the radar is taken as reference.
- Parameters:
radar (Radar) – the radar object containing the information on the position of the radar gates
iso0_data (dict) – dictionary containing the is0 data and metadata
time_index (int) – the time index
statistic (str) – The statistic used to weight the iso0 points. Can be avg_by_dist, avg, min, max
- Returns:
iso0_ref (float) – reference iso0 [m]