Skip to content

Tutorial

Manjaree Binjolkar edited this page Sep 5, 2025 · 6 revisions

Provided with the code in the data/Stony_Brook folder is an example of generating hourly runoff directly from AORC-1 km for the Stony Brook Watershed near Princeton, NJ during 2017 to 2018.

Quick Start

First, load the required modules (below if for Della cluster):

module load cudatoolkit/12.9
module load openmpi/gcc/4.1.6
module load hdf5/gcc/openmpi-4.1.6/1.14.4
module load netcdf/gcc/hdf5-1.14.4/openmpi-4.1.6/4.9.2

To run the example directly after compiling the script run the following command from root directory:

./bin/runoff ./data/Stony_Brook/config_Stony_Brook.yaml

This should generate the following in the /data/Stony_Brook/outputs/ folder

dense_20170101_20171231.nc  
dense_20180101_20181231.nc  
final_20170101_20171231.nc  
final_20180101_20181231.nc
runoff_20170101_20171231.nc
runoff_20180101_20181231.nc

Example Details

For more details on the simulations and instructions on generating the parameter lookup files, please refer to the provided Jupyter notebook generate_params_lookup.ipynb located in the scripts/ folder.

Clone this wiki locally