pyrad.prod.generate_icon_coord_products#

pyrad.prod.generate_icon_coord_products(dataset, prdcfg)[source]#
generates icon coordinates products. Accepted product types:
‘SAVEVOL’: Save an object containing the index of the icon model grid

that corresponds to each radar gate in a C/F radial file. User defined parameters:

file_type: str

The type of file used to save the data. Can be ‘nc’ or ‘h5’. Default ‘nc’

physical: Bool

If True the data will be saved in physical units (floats). Otherwise it will be quantized and saved as binary

compression: str

For ODIM file formats, the type of compression. Can be any of the allowed compression types for hdf5 files. Default gzip

compression_opts: any

The compression options allowed by the hdf5. Depends on the type of compression. Default 6 (The gzip compression level).

Parameters:
  • dataset (tuple) – radar object containing the icon coordinates

  • prdcfg (dictionary of dictionaries) – product configuration dictionary of dictionaries

Returns:

filename (str) – the name of the file created. None otherwise