Skip to content

v1.0.0b12

Choose a tag to compare

@jensdebruijn jensdebruijn released this 05 Mar 10:03
· 1110 commits to main since this release

v1.0.0b12

  • Reforestation: add government forest planting policy and soil modification workflow.
  • Convert suitable cropland/grassland to forest; update soils and remove farmers.
  • Reorganized geb/hydrology/ by moving land surface-related modules (landsurface.py, evapotranspiration.py, interception.py, snow_glaciers.py, potential_evapotranspiration.py) into a new geb/hydrology/landsurface/ package.
  • Split soil.py into geb/hydrology/landsurface/water.py (soil hydraulic processes) and geb/hydrology/landsurface/energy.py (soil thermal processes).
  • Add Leaf Area Index (LAI) integration in soil net radiation calculation to account for canopy shielding and emission.
  • Refactor discharge observations to support dual-frequency (hourly and daily) data tables.
  • Rename generic Q_obs to discharge_observations across the codebase for clarity.
  • Add frequency labels (hourly/daily) to extreme value analysis and validation plot titles.
  • Allow model to run from 1960 onwards (raise clear error if earlier than 1960 is requested).
  • Update parse_demand in agents.py to backward and forward fill water demand data if it doesn't cover the entire model time range.
  • Update discharge observation processing to support hourly data and separate observations into hourly and daily tables.
  • Update hydrology evaluation to support both hourly and daily observation datasets.
  • Add build method to set up reforestation potential (and data catalog entry)
  • Add units to all data from setup_hydrography
  • Compute hillslope length based on drainage density
  • Fix: Also set nodata type in _FillValue when using reporter. This is now also correctly loaded with zarr.
  • Add geb tool rechunk to allow rechunking of dataset to space-optimized, time-optimized or balanced. Currently using some reasonable defaults, but if needed we can expand this with custom values.
  • Add CWatM water demand to new data catalog (and remove from the old one).
  • Add --profiling option to geb build/update/alter.
  • Fix: fix for farm sizes that are all on the high end of the distribution.
  • Fix: fix for regions with very large coastal areas beyond the riverine grid
  • Use figures path for sfincs model to save all figures
  • Switch to hourly values for extreme value statistics
  • Use maximum of one flood peak per week
  • In evaluate make a dataframe without missing timesteps and ensure that return periods are esimated on the same data for observed and simulated for comparison.
  • Fix: fix for regions with very large coastal areas beyond the riverine grid.
  • Fix: waterbody outflow is larger than waterbody storage (due to floating point imprecision).
  • Fix: Added Liechtenstein to trade regions list which allows the model to be built in the Rhine basin
  • Move MIRCA-OS to new data catalog.
  • Move aquastat to new data catalog.
  • Add OECD Income Distribution Database (IDD) to the new data catalog.
  • Move Coast-RP to new data catalog.
  • Add heat conductivity to deeper soil layers (still missing influence of water).
  • Consider soil heat flux in pennmann-monteith.
  • Turn of sensible and turbulent heat fluxes in case there is snow.
  • Include evaporative cooling and advective heat transport from rainfall.
  • Add a daily soil enthalpy balance check.
  • Generalize river snapping.
  • Setup example preprocessing for retention basins.
  • Fix: Add iso codes for GDL regions where those are missing
  • Fix: Fix error in GLOPOP due to regions with 17 columns, instead of 16
  • Fix: Fix missing age (65) in age distribution for households
  • use GDL regions (instead of GADM) for the income distribution parameters
  • Fix: fix bug of farms that are smaller than the subgrid size
  • Fix: fix bug of countries that are not in trade regions (GLOBIOM)
  • Raise error when progress.txt contains duplicates
  • Speedup pr_gev calculation in build.
  • Simplify report function arguments.
  • Report water balance evaluation plot to evaluate folder.
  • Save climate data in weekly chunks, also read in weekly chunks -> significant speedup (~15% is some tests).
  • Use full penman-monteith for setup_SPEI.

To support this version:

  • Re-run setup_hydrography: geb update -b build.yml::setup_hydrography
  • Re-name setup_mannings to setup_geomorphology and run setup_geomorphology: geb update -b build.yml::setup_geomorphology
  • Re-run setup_discharge_observations: geb update -b build.yml::setup_discharge_observations
  • Only in case of build errors (or later in spinup/run):
    • re-run setup_household_characteristics: geb update -b build yml::setup_household_characteristics
    • re-run setup_crops: geb update -b build.yml::setup_crops
    • re-run setup_income_distribution_parameters: geb update -b build.yml::setup_income_distribution_parameters
    • re-run setup_create_farms: geb update -b build.yml::setup_create_farms

Recommended:

  • Re-run setup_forcing and setup_SPEI for a significant speedup and better SPEI estimation: geb update -b build.yml::setup_forcing and geb update -b build.yml::setup_SPEI