Skip to content

heiplanet_data.script_aggregate module⚓︎

heiplanet_data.script_aggregate ⚓︎

Functions:

Attributes:

DATA_FOLDER module-attribute ⚓︎

DATA_FOLDER = Path('../heiplanet-db/.data_heiplanet_db/gold')

NUTS_FILE module-attribute ⚓︎

NUTS_FILE = DATA_FOLDER / 'NUTS_RG_20M_2024_4326.shp.zip'

aggregated_file module-attribute ⚓︎

aggregated_file = aggregate_data_by_nuts(non_nuts_data, NUTS_FILE, normalize_time=True, output_dir=DATA_FOLDER)

jmodel_fname module-attribute ⚓︎

jmodel_fname = 'era5_data_2025_05-07_2t_monthly_unicoords_adjlon_celsius_silver_output_JModel_global_ts20260206-161821_hssclap09.nc'

non_nuts_data module-attribute ⚓︎

non_nuts_data = {'jmodel': (DATA_FOLDER / jmodel_fname, None)}

t0 module-attribute ⚓︎

t0 = time()

t1 module-attribute ⚓︎

t1 = time()

get_nuts_data ⚓︎

get_nuts_data()