radproc.core.hdf5_to_days¶
-
radproc.core.
hdf5_to_days
(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 daily 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 daily 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.