pyrad.io.hzt2radar_data#

pyrad.io.hzt2radar_data(radar, hzt_coord, hzt_data, slice_xy=True, field_name='height_over_iso0')[source]#

get the HZT value corresponding to each radar gate using nearest neighbour interpolation

Parameters:
  • radar (Radar) – the radar object containing the information on the position of the radar gates

  • hzt_coord (dict) – dictionary containing the HZT coordinates

  • hzt_data (dict) – dictionary containing the HZT data

  • slice_xy (boolean) – if true the horizontal plane of the icon field is cut to the dimensions of the radar field

  • field_name (str) – name of HZT fields to convert (default height_over_iso0)

Returns:

hzt_fields (list of dict) – list of dictionary with the HZT fields and metadata