pyrad.prod.generate_icon_to_radar_products#
- pyrad.prod.generate_icon_to_radar_products(dataset, prdcfg)[source]#
generates icon data in radar coordinates products. Accepted product types:
- ‘SAVEVOL’: Save an object containing the icon data in radar
- coordinatesin a C/F radial or ODIM 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).
All the products of the ‘VOL’ dataset group
- 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