| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Copyright Derek Karssenberg & Noemí Lana-Renault Monreal
Copyright of this software: Derek Karssenberg & Noemi Lana-Renault Monreal Contact: d.karssenberg@uu.nl or noemi-solange.lana-renault@unirioja.es
Create a conda environment for PCRaster (for instance by running pcraster_pycatch.yaml)
To run the model with 1 h timestep, run main.py
To run the model with 1 week timestep, run main_weekly.py (this model includes erosion, not documented yet)
To run the model with 10 second timestep, run main_seconds.py
To remove all output, run clean.sh, this does NOT remove inputs, so there is no major risk, but check what is in clean.sh first
Settings are in configuration.py (1 h model) and configuration_weekly.py (1 week timestep model)
Use the main_weekly.py model. Settings can be configured in configuration_weekly.py.
Realizations of the model are executed parallel (forked). Each realisation is written to a subdirectory. The number of realizations can be defined in configuration_weekly.py. Each realisation of the model will be different as there is some tiny random noise included which results in different paths of how the system evolves.
The model calculates grazing pressure inside the dynamic method. It currently gradually increases grazing pressure then decreases it. Output is written to 1/grazing.npy, 2/grazing.npy,.. etc (all the same as there are no differences between realizations.)
The model calculates and reports soil depth and biomass. These are written as txt files in the folders 1, 2, 3, etc again
The number of timesteps (time step duration is one week) is given in configuration_weekly.py
For displaying some map outputs, use setOfVariablesToReport = 'some' in configuration_weekly.py, it writes biomass and grazing pressure for a defined interval. These can be displayed using the PCRaster Aguila visualisation tool.
All new things in files with extension _gg
Geometry:
Lateral flow:
Upward seepage:
Percolation from top layer:
Capillary rise (it could also be left out for now?, it will be zero with gw depth > 5 m or so):
Evapotranspiration:
Refer to paper for background.
If the surface water erosion is added some more inputs are needed (most of them uniform values most likely).
The inputs directory gives these maps for the small catchments in Spain.
Could be for each variable a single timeseries for the whole catchmenlt (to start with). Consider using https://chelsa-climate.org, currently a state of the art reanalysis data set. We need at least 2 years.
biomass or exchange vars starting with X (Xst, biomass) precipitation files starting with P interception files starting with V (from vegetation) surface store files starting with S infiltration files staring with I evapotranspiration files starting with E subsurface store files starting with G (from groundwater) runoff files starting with R shading files starting with M (from shading due to Mountains ) budgets files starting with B soil wash files starting with W regolith files starting with A (Ast, regolith depth (=soil depth)) bedrock weathering files starting with C base level files starting with L creep files starting with D
store (s, unit m) actual flux in (i, unit m/h, for geomorphology m/year) potential flux in (j, unit m/h, for geomorphology m/year) actual flux out (o, unit m/h, for geomorphology m/year) potential flux out (p, unit m/h, for geomorphology m/year) actual flux in (in (positive) or out(negative)) (c, of change, unit m/h, for geomorphology m/year) another flux (x, unit m/h, for geomorphology m/year) lateral flux (q, cubic metre per hour) two extra letters: other values, eg Ecl, cloud factor
see respective classes for details !! E.g. actual flux out is not always all out fluxes but sometimes only one of two.
To create observed discharge, run createObservedDischarge.sh, it creates maps in the folder 'observations'. This is only required for particle filtering
todo and changes are in changes.txt at the bottom of changes is also the names of files used
file name conventions
# reports as numpy arrays Got.npy self.totalActualAbstractionInUpstreamAreaCubicMetrePerHour, from subsurface Gxt.npy self.totalUpwardSeepageInUpstreamAreaCubicMetrePerHour,from subsurface Vot.npy self.totalActualAbstractionInUpstreamAreaCubicMetrePerHour, from canopy Rq.npy discharge m3/h Rqs.npy discharge m3/h, averaged over 2 hours RPic.npy self.maximumInterceptionCapacityPerLAI, RPks.npy self.ksat, RPmm.npy self.multiplierMaxStomatalConductance RPrt.npy self.regolithThicknessHomogeneous, RPsc.npy self.saturatedConductivityMetrePerDay, Removed code ------------ Early warning signals
Code to calculate statistics in the dynamic section. Removed as it was hard to get GSTAT running. Note also that it considerably slows down the model.
| Back | FazBrowse Home | New Git URL |