pysteps.io.importers.import_odim_hdf5

pysteps.io.importers.import_odim_hdf5(filename, **kwargs)

Import a precipitation field (and optionally the quality field) from a HDF5 file conforming to the ODIM specification.

Parameters:
filename : str

Name of the file to import.

Returns:
out : tuple

A three-element tuple containing the OPERA product for the requested quantity and the associated quality field and metadata. The quality field is read from the file if it contains a dataset whose quantity identifier is ‘QIND’.

Other Parameters:
 
qty : {‘RATE’, ‘ACRR’, ‘DBZH’}

The quantity to read from the file. The currently supported identitiers are: ‘RATE’=instantaneous rain rate (mm/h), ‘ACRR’=hourly rainfall accumulation (mm) and ‘DBZH’=max-reflectivity (dBZ). The default value is ‘RATE’.