Plugin was written by Jaclyn Tech at Texas A&M University, USA with the help of Geoff Davis and team.
Plugin still under development and has a number of issues that still need to be resolved
|License||As-is, use at your own risk|
This plugin brings part of a Soil and Water Assessment Tool (SWAT) project over to Source. It reads the watershed network from SWAT's fig.fig file and location data from an associated shapefile (generated using an ArcSWAT project, or potentially QSWAT) and generates a SWAT Catchment Model in Source. Flow is added to a catchment from SWAT's output (output.sub file) along with water quality constituents: sediment, organic nitrogen and organic phosphorus.
Point source data from SWAT is brought into Source as a time series flux on a link. Reservoirs are brought over from SWAT as storage node models in Source, however this is still a work in progress; more work will need to be done to bring SWAT reservoir data into Source's storage nodes.
The user must provide the directory to their SWAT text files, often located at: ProjectDirectory/Scenarios/Default/TxtInOut. The SWAT model must already be run on the project. The following files are required:
- file.cio (master watershed file)
- fig.fig (watershed configuration file)
- output.sub (subbasin output file)
Within output.sub, the user must have the following parameters set to print. They are printed by default, but a user may change this setting in file.cio.
- .res files associated with reservoirs, if applicable
- .dat files associated with point source or inlet data, if applicable
The user must also provide the directory to their shapefiles, often located at: ProjectDirectory/Watershed/Shapes. The following files are required: