The Regional Hydro-Ecologic Simulation System (RHESSys) Workflows provides a series of Python tools for performing RHESSys data preparation workflows. RHESSys is a GIS-based, hydro-ecological modelling framework designed to simulate carbon, water, and nutrient fluxes. By combining a set of physically-based process models and a methodology for partitioning and parameterizing the landscape, RHESSys is capable of modelling the spatial distribution and spatio-temporal interactions between different processes at the watershed scale
What can you do with RHESSys Workflows?
RHESSysWorkflows provides Python scripts for building RHESSys models. These tools build on the workflow system defined by EcohydroLib. EcohydroLib provides a series of Python scripts for performing ecohydrology data preparation workflows. Workflow sub-components are orchestrated via a metadata persistence store provided by the ecohydrolib.metadata package. These scripts are built on top of a series of task-oriented APIs defined in the Python package EcohydroLib. The workflow scripts provide tools for downloading and manipulating geospatial data needed to run a ecohydrology models, information such as: digital elevation model (DEM), soils, land cover, and vegetation leaf area index. These data can be drawn both from national spatial data infrastructure (NLCD, SSURGO) as well as custom local datasets.
A metadata store is used to orchestrate a series of workflow scripts used to prepare data for an ecohydrology model. The current implementation uses the Python ConfigParser key-value storage mechanism to persist metadata to disk, however conceivably any key-value store could be used. The metadata contains information related to the study area (e.g. bounding box, spatial reference, DEM resolution), as well as provenance information for each spatial data layer imported, and a processing history that records the parameters used to invoke each workflow script; provenance information is represented as a subset of Dublin Core attributes (http://dublincore.org). When using the workflow scripts in a stand-alone environment, the metadata store provides information necessary to understand where ecohydrology input data came from, and what transformations have been made to the data. When the workflow scripts are integrated into a data grid or workflow environment (e.g. iRODS), the metadata store can serve as a staging area for metadata and provenance information that will be registered into the formal workflow environment.
The fundamental operation for any ecohydrology modeling workflow is to define the study region of interest (ROI). In EcohydroLib the ROI is simply defined as a bounding box of WGS84 latitude and longitude coordinates (e.g. coordinates for the upper- left and lower-right corners). For workflows using the National Hydrography Dataset (NHD), the ROI bounding box can be derived using catchment polygons associated with the stream reaches upstream of a particular gage. The user begins by picking a streamflow discharge gage listed in the NHD dataset. EcohydroLib can then determine the stream reaches upstream of the data, and then select the catchment polygons associated with each upstream reach. From these polygons, the bounding box of the land area draining through the streamflow gage can easily be calculated.
Once the ROI is known, EcohydroLib can extract datasets (DEM, soils, etc.) specific to the study area. Some of these datasets are extracted from static local copies of national spatial data (e.g. NLCD), while other are retrieved via web services interfaces from federal agency data centers (e.g. SSURGO soils data from USDA) or from third-party data centers (GeoBrain's DEM Explorer). However it is also possible for the user to register their own custom data for a given datatype (e.g. local LIDAR-based DEM).
RHESSys has more than 100 state variables that can be looked at. Different output options and different printing time scales produce output associated with different variables. RHESSys is a process-based spatially explicit model of coupled terrestrial hydrologic and biogeochemical cycling processes. Key hydrologic processes represented in the model include snow accumulation and melt, interception, infiltration, transpiration, soil and litter interception evaporation, vertical drainage, shallow and deep groundwater subsurface lateral flow. In the model, energy, moisture, nitrogen and carbon are conserved and energy, wind and water are attenuated through multiple canopy layers. Modeling of carbon cycling dynamics include estimation of canopy photosynthesis and respiration, the allocation of net photosynthesis to leaves, stem and roots, plant turnover and litter and soil decomposition and respiration. Plant nitrogen cycling in is generally stoichiometrically tied to carbon cycling. Microbial nitrogen processes include decomposition, nitrification and denitrification as well as nitrate export. All processes are modeled over-spatially complex terrain to account for variation in meteorologic forcing conditions, radiation and other inputs. Both water and nitrogen are explicitly routed between spatial patches, contributing to spatial heterogeneity in soil moisture and nitrogen availability and ultimately water and nitrogen fluxes to the stream. RHESSys uses a hierarchical spatial framework that allows different processes to be modeled at their most representative scale. Patches are the smallest horizontal spatial unit and are typically 10-30m grid cells but spatially variable, irregularly shaped patches are supported. Within patches, vertical modeling units are included to represent multiple canopy layers (overstory/understory and mixed canopies). Most processes are run at a daily time step.
Access the Model
- Link to App page
- Link to external website
- Link to resources for Launching jupyter notebook
Computational resources required. Platforms, code base, etc.
RHESSysWorkflows: Python scripts for building RHESSys models.
GRASS: A free UNIX-based GIS software (http://grass.fbk.eu/)
GRASS2WORLD (g2w): A program to generate a worldfile from spatial data layers within GRASS GIS
AverageTables (rat): Necessary to simulate g2w
CREATEFLOWPATH (cf): A program to generate a flowtable which describes connectivity between patches within a hillslope. Only needed in the routing mode.
LAIREAD: A program to incorporate LAI maps into the existing worldfile. (prescribed LAI mode)
RHESSys: A main program to simulate the model.
Platforms: Linux, Mac OS X
Code: C, Python
Suggestions to learn more
Band, L. E., P. Patterson, R. Nemani, and S. W. Running (1993), Forest ecosystem processes at the watershed scale: Incorporating hillslope hydrology, Agric. For. Meteorol., 63, 93 – 126.
Beven, K., and M. Kirkby (1979), A physically based variable contributing area model of basin hydrology, Hydrol. Sci. Bull., 24, 43– 69.
Running, S. W., R. R. Nemani, and R. D. Hungerford (1987), Extrapolation of synoptic meteorological data in mountainous terrain and its use for simulating forest evapotranspiration and photosynthesis, Can. J. For. Res., 17, 472– 483.
Running, S. W., and E. R. Hunt (1993), Generalization of a forest ecosystem process model for other biomes, BIOME-BCG, and an application for global-scale models, in Scaling Physiological Processes: Leaf to Globe, edited by J. R. Ehleringer and C. B. Field, pp. 141– 158, Academic, San Diego, Calif.
Tague, C. L., and L. E. Band (2004), RHESSys: Regional Hydro-Ecologic Simulation System—An object-oriented approach to spatially distributed modeling of carbon, water, and nutrient cycling, Earth Interact., 8, 1 –42.
White, M. A., P. E. Thornton, S. W. Running, and R. R. Nemani (2000), Parameterization and sensitivity analysis of the BIOME-BGC terrestrial ecosystem model: Net primary production controls, Earth Interact., 4, 1 – 85.
Wigmosta, M. S., L. W. Vail, and D. P. Lettenmaier (1994), A distributed hydrology-vegetation model for complex terrain, Water Resour. Res., 30 1665-1679.
Band, L.E., Tague, C.L., Brun, S.E., Tenenbaum, D.E., Fernandes, R.A., (2000) Modeling watersheds as spatial object hierarchies: Structure and Dynamics, Transactions in GIS, 181-196.
Band, L.E., Tague, C.L., Groffman, P. (2001) Forest ecosystem processes at the watershed scale: Hydrological and ecological controls of nitrogen export, Hydrologic Processes, 15, 2013-2028.
Links to sample outputs available as Resources in HydroShare
RHESSys model of Dead Run 5 watershed, Baltimore County, Maryland, USA (with rain gardens) https://www.hydroshare.org/resource/6dbb0dfb8f3a498881e4de428cb1587c/
RHESSys (5.20) watershed 18, Coweeta, NC https://www.hydroshare.org/resource/c397f68fbc9847d6a717b0a2c2fe7671/