Skip to content

About⚓︎

Heidelberg Planetary Health Hub (Hei-Planet)

Scientific Software Center (SSC)

Package modules⚓︎

The heiplanet_data package is organized by pipeline stage:

Module Responsibility
inout Download of raw data (bronze level) from data sources such as CDS/ERA5-Land and ISIMIP, and file handling.
converters Elementary transformations: longitude 0-360 to -180-180, Kelvin to Celsius, meters to millimeters, unification of coordinate names.
regrid Spatial resolution resampling: downsampling via xarray, xESMF, or CDO, and upsampling via interpolation. Only module using the heavy xesmf/cdo dependencies.
temporal Time-axis operations: shifting time points, truncating to a date range, monthly precipitation totals.
pipeline Settings-driven orchestration of the preprocessing steps (bronze to silver): step registry and the preprocess_data_file entry point.
nuts_aggregation Aggregation of preprocessed gridded data over NUTS regions via exactextract or geopandas: the aggregate_data_by_nuts entry point.
utils Shared helpers: settings loading and validation, file checks, unique tags.
preprocess Backward-compatible facade re-exporting the API of the former monolithic preprocess module; import from the dedicated modules in new code.