Skip to content

Tutorials and Examples

These pages use the two small datasets in the refdata folder of the SWAT+ source repository and go through them file by file. They assume SWAT+ is installed and the Getting started pages have been read.

Pages

  • Ames_sub1 walkthrough. Twelve HRUs near Ames, Iowa, simulated from 1975 to 2020, with no routing between objects. Each input group in turn, the run, and the outputs.
  • Osu_1hru walkthrough. One rice paddy HRU in South Korea, simulated from 2010 to 2023, with a routing unit, an aquifer and a channel. Paddy management by decision tables, and the shipped files that 62.0.1 reads differently from their headers.
  • Carbon notebook. The Jupyter notebook jupyter_notebooks/carbon.ipynb, which plots the soil carbon output of one HRU, and how to run it with Ames_sub1.
  • Cookbook recipes. Short edits: change the simulation period, turn on an output, change the PET method, switch to Green-Ampt, add an HRU, switch on the carbon model.
Sources