Core Functions and Data I/O

Core functions like coordinate conversion and import of ID-array from textfile. Data import from HDF5-file and temporal data aggregation.

coordinates_degree_to_stereographic Converts geographic coordinates [°] to cartesian coordinates [m] in stereographic RADOLAN projection.
save_idarray_to_txt Write cell ID values to text file.
import_idarray_from_txt Imports cell ID values from text file into one-dimensional numpy-array.
load_months_from_hdf5 Imports the specified months of one year and merges them to one DataFrame.
load_month Imports the dataset of specified month from HDF5.
load_years_and_resample Imports all months of the specified years, merges them together to one DataFrame and resamples the latter to [annual | monthly | daily | hourly] precipitation sums.
hdf5_to_years 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 annual precipitation sums.
hdf5_to_months 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 monthly precipitation sums.
hdf5_to_days 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.
hdf5_to_hours 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.
hdf5_to_hydrologicalSeasons Calculates the precipitation sums of the hydrological summer and winter seasons (May - October and November - April).