pyrad.io.hzt2radar_coord#

pyrad.io.hzt2radar_coord(radar, hzt_coord, slice_xy=True, field_name=None)[source]#

Given the radar coordinates find the nearest HZT pixel

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

  • hzt_coord (dict) – dictionary containing the HZT coordinates

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

  • field_name (str) – name of the field

Returns:

hzt_ind_field (dict) – dictionary containing a field of HZT indices and metadata