pysteps.io.importers.import_knmi_hdf5¶
-
pysteps.io.importers.
import_knmi_hdf5
(filename, **kwargs)¶ Import a precipitation or reflectivity field (and optionally the quality field) from a HDF5 file conforming to the KNMI Data Centre specification.
Parameters: - filename : str
Name of the file to import.
Returns: - out : tuple
A three-element tuple containing precipitation accumulation [mm] / reflectivity [dBZ] of the KNMI product, the associated quality field and metadata. The quality field is currently set to None.
Other Parameters: - qty : {‘ACRR’, ‘DBZH’}
The quantity to read from the file. The currently supported identifiers are: ‘ACRR’=hourly rainfall accumulation (mm) and ‘DBZH’=max-reflectivity (dBZ). The default value is ‘ACRR’.
- accutime : float
The accumulation time of the dataset in minutes. A 5 min accumulation is used as default, but hourly, daily and monthly accumulations are also available.
- pixelsize: float
The pixel size of a raster cell in meters. The default value for the KNMI datasets is 1000 m grid cell size, but datasets with 2400 m pixel size are also available.
Notes
Every KNMI data type has a slightly different naming convention. The standard setup is based on the accumulated rainfall product on 1 km2 spatial and 5 min temporal resolution. See https://data.knmi.nl/datasets?q=radar for a list of all available KNMI radar data.