radproc.dwd_gauge.dwd_gauges_to_hdf5¶
-
radproc.dwd_gauge.
dwd_gauges_to_hdf5
(inFolder, HDFFile)¶ Import all textfiles containing DWD rain gauge data in MR90 format from input folder into a DataFrame and save it as monthly HDF5 datasets.
Frequency is downsampled from 1 to 5-minute intervals to adjust temporal resolution to RADOLAN product YW. Time zone is converted from MEZ to UTC.
Parameters: - inFolder : string
- Path of directory containing textfiles with DWD rain gauge data in MR90 format.
- HDFFile : string
- Path and name of the HDF5 file. If the specified HDF5 file already exists, the new dataset will be appended; if the HDF5 file doesn’t exist, it will be created.
Returns: None Save monthly DataFrames to specified HDF5 file.Note: To import gauge data from HDF5, you can use the same functions from radproc.core as for RADOLAN data since both are stored the same data format and structure.