radproc.core.hdf5_to_hours¶
-
radproc.core.
hdf5_to_hours
(HDFFile, year_start, year_end=0)¶ Wrapper for load_years_and_resample() to import all months of the specified years, merge them together to one DataFrame and resample the latter to hourly precipitation sums.
Parameters: - HDFFile : string
- Path and name of the HDF5 file containing monthly datasets.
- year_start : integer
- First year for which data are to be loaded.
- year_end : integer (optional, default: start_year)
- Last year for which data are to be loaded.
Returns: - df : pandas DataFrame
- resampled to hourly precipitation sums.
Note
All resampling functions set the label of aggregated intervals at the right, hence every label describes the precipitation accumulated in the previous interval period.
Note
For comparisons between hourly RW data and gauge data/YW data resampled to hours, keep in mind, that hours in RW always start at hh-1:50 whereas the resampled hours begin at hh:00.