-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorial
Alexander Michalek edited this page Aug 1, 2025
·
11 revisions
Provided with the code in the data folder is an example of routing hourly total runoff directly from ERA5Land for the Stony Brook Watershed near Princeton, NJ during 2017 to 2018.
First, compile the program using the information found on the Compiling page.
Second, load the required modules (below if for Tiger3):
module load hdf5/gcc/1.14.4
module load netcdf/gcc/hdf5-1.14.4/4.9.2Third, create the output directory:
mkdir ./data/outputsTo run the example directly after compiling the script run the following command:
./bin/routing ./data/config.yamlThis should generate the following in the /data/outputs/ folder
mytimeseries_2017-01-01_00_00_00.nc
mytimeseries_2018-01-01_00_00_00.nc
snapshot_2017-01-01_00_00_00.nc
snapshot_2018-01-01_00_00_00.nc
max_output_2017-01-01_00_00_00.nc
max_output_2018-01-01_00_00_00.ncFor more details on the simulations and how to generate the parameters files, it is recommended that users go through the provided notebook: example.ipynb.
Getting Started
User Guide
- Background
- Compiling
- OpenMP
- Solver
- The YAML File
- Parameters
- Initial Conditions
- Boundary Conditions
- Reservoirs
- Runoff Forcings
- Output Files
Programmer Guide