Note: This is documentation for version 5.0 of Source. For a different version of Source go to the Space Directory.
Page tree
Skip to end of metadata
Go to start of metadata

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

General Info

LicenseAs-is, use at your own risk
Current version1.0

Plugin Description

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.
    • WYLD
    • SYLD
    • ORGN
    • ORGP
  • .res files associated with reservoirs, if applicable
  • .dat files associated with point source or inlet data, if applicable
  • output.rch

 The user must also provide the directory to their shapefiles, often located at: ProjectDirectory/Watershed/Shapes. The following files are required:

  • subs1.dbf
  • subs1.shp

  • No labels