pyrad.io.get_icon_fields#

pyrad.io.get_icon_fields(icon_data, icon_ind, time_index=0, field_names=['temperature'])[source]#

Get the icon data corresponding to each radar gate using a precomputed look up table of the nearest neighbour

Parameters:
  • icon_data (dict) – dictionary containing the icon data and metadata

  • icon_ind (dict) – dictionary containing a field of icon indices and metadata

  • time_index (int) – index of the forecasted data

  • field_names (str) – names of icon parameters (default temperature)

Returns:

icon_fields (list of dict) – dictionary with the icon fields and metadata