pyrad.io.read_icon_data#

pyrad.io.read_icon_data(fname, field_names=['temperature'], celsius=True)[source]#

Reads icon data from a netcdf file

Parameters:
  • fname (str) – name of the file to read

  • field_names (str) – name of the variable to read

  • celsius (Boolean) – if True and variable temperature converts data from Kelvin to Centigrade

Returns:

icon_data (dictionary) – dictionary with the data and metadata