Skip to content

icra/swat_editor_fork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b7c79a0 · Feb 2, 2024

History

11 Commits
Nov 7, 2023
May 10, 2022
May 10, 2022
May 10, 2022
Sep 13, 2023
May 10, 2022
May 10, 2022
Jun 26, 2023
May 10, 2022
May 10, 2022
Feb 2, 2024
May 10, 2022
May 10, 2022
May 10, 2022
May 10, 2022
May 10, 2022
May 10, 2022
May 10, 2022
Jun 26, 2023
May 10, 2022
Sep 13, 2023
May 10, 2022

Repository files navigation

README

Custom Desktop interface to SWAT+ allowing the user to import a project from GIS, modify SWAT+ input, write the text files, and run a custom SWAT+ model that can model point-source pollution.

Read the documentation at swatplus.gitbook.io/docs and join the user group to be notified of new releases.

Installing and running the source code

Back-end development stack

  1. Install Python 3 (version 3.5 and up)
  2. Install required Python packages
    • From command prompt, go to source code /api directory
    • Run pip install -r requirements.txt
  3. Update the appsettings.json file in the root of the source code directory with your python PATH variable (typically python on Windows and python3 on Linux and MacOS)

Front-end development stack

  1. Install Node.js
  2. Install required Node.js packages
    • From command prompt, go to the root directory of the source code
    • Run npm install

Running the source code

  1. If needed, adjust the pythonPath setting in appsettings.json; change to python (Windows) or python3 (Linux/MacOS)
  2. From command prompt, go to the root directory of the source code
  3. Run npm run serve
  4. In another prompt, run npm run electron

Development tools

  1. Visual Studio Code