Work Flow of Point Source and Reservoir Monthly/Daily Discharge File Generation

When reservoir outflow is simulated with measured daily/monthly outflow, a discharge file (.day/.mon) would be generated. The file would be overwritten when the simulation is setup with the given simulation period. For those who don't use ArcSWAT/SWAT Editor to run the model, remember to setup simulation before running the model if there are reservoir or …

Default CN2 in MGT

A default CN2 is defined in mgt file as shown in following examples. 49.00 | CN2: Initial SCS CN II value Question 1: Where does this default CN2 come from? The default CN2 comes from either crop table or urban table of SWAT2012.mdb. Four columns (CN2A, CN2B, CN2C, CN2D) are defined in table crop/urban, which …

Makefile Updated – 1) No Need to Modify main.f any more; 2) A Single Makefile; 3) 64-bit Build

Download Link Makefile Generator, Makefile The Makefile is updated again. Main changes are: Don't compile modparm.f any more to keep SWAT codes unchange. Don't generate separated Makefiles for debug and release any more. A single Makefile is generated instead to include four make targets: debug32, debug64, rel32 and rel64, which matches the four official SWAT …

MinGW Installation Guide for SWAT Debugging

Please note that the administrative privilege is not needed in the whole processes. MinGW would not add entries into register system or change the environment variables. Download the automated GUI installer: mingw-get-setup.exe and run. Accept all the default settings and Choose MinGW packages to install. Open MinGW Installation Manager installed in previous step, select Basic …

SWAT Makefile Updated – Stop running when overflow happens

Note: This version is updated in next post SWAT Makefile Updated - Ignore Underflow, where underflow flag is removed. The Makefile published in previous blog Makefile - Compile SWAT using gfortran without modification is updated. It's highly recommended to update. Download Link Makefile Generator, Debug Makefile, Release Makefile Updates More gfortran flags are added to make …

Makefile – Compile SWAT using gfortran without modification

Note: The makefile here is an older version. For the latest version, please visit another post SWAT Makefile Updated - Stop running when overflow happens. Quick Download Link Makefile Generator, Debug Makefile, Release Makefile Next post will be: Use Makefile in Photran to Debug SWAT Please note that the modparm.f doesn't need to be compiled as parm.mod …