swatplus

Soil and Water Assessment Tool +

https://github.com/swat-model/swatplus

Science Score: 52.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization swat-model has institutional domain (swat.tamu.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.0%) to scientific vocabulary

Keywords

hydrology modeling nutrients water watershed
Last synced: 6 months ago · JSON representation ·

Repository

Soil and Water Assessment Tool +

Basic Info
Statistics
  • Stars: 39
  • Watchers: 11
  • Forks: 61
  • Open Issues: 8
  • Releases: 14
Topics
hydrology modeling nutrients water watershed
Created almost 2 years ago · Last pushed 6 months ago
Metadata Files
Readme License Code of conduct Citation

README.md

Release

SWAT+

The Soil and Water Assessment Tool Plus SWAT+ is an open source model jointly developed by the USDA Agricultural Research Service (USDA-ARS) and Texas A&M AgriLife Research, part of The Texas A&M University System. Model contributions have been made by Colorado State University and others. SWAT+ is a small watershed to river basin-scale model to simulate the quality and quantity of surface and ground water and predict the environmental impact of land use, land management practices, and climate change. SWAT is widely used in assessing soil erosion prevention and control, non-point source pollution control and regional management in watersheds.

This repository contains the latest SWAT+ source code and some test data to create and test the executable for various compiler and platforms.

Repository

Get the SWAT+ sources by cloning the forked repository using git.

bash $ git clone https://github.com/<user>/swatplus.git

Or, download the sources directly from the artifacts, unzip. Use a tagged version (preferred).

bash $ wget https://github.com/swat-model/swatplus/archive/refs/tags/61.0.zip

Directory Structure

The directory structure is shown below. The build directory gets created and populated during the generation of the cmake files and the cmake build.

swatplus ├── build │ ├── ... │ ├── *.mod │ ├── Testing │ └── CMakeFiles │ ├── Makefile.cmake │ ├── ... │ └── swatplus-<ver>.dir │ ├── *.mod.tstamp │ ├── src │ └── ... ├── data ---> contains all data sets for testing │ ├── Ames_sub1 │ ├── <other> │ └── ... ├── src ---> contains all swatplus Fortran source files │ └── *.f90 ├── test ---> contains all unit tests sources │ ├── check.py │ └── ... ├── doc ---> contains all hosted documentation ├── CMakeLists.txt ---> cmake project file ├── ford.md.in ---> FORD Documentation creation project ├── README.md ---> this file └── ...

Developing SWAT+

This GitHub repository is setup to build, test, and deploy SWAT+ using the CMake tool. CMake is a cross-platform build tool that can be used at the command line but it is also supported through various IDEs, etc. More information can be found at http://cmake.org.

In addition to CMake, the following tools are also needed:

  • git tool for version control
  • make tool (for building)
  • gfortran or ifort/ifx compiler and linker (for compiling/linking)
  • python3 (for testing, optional)
  • ford (for documentation generation)

Use the operating system's preferred way of adding those tools to your installation. There is certainly more than one way of getting and installing them.

The following sections are emphasizing various development aspects.

Documentation and References

SWAT+ Source Documentation on GitHub

SWAT+ Input/Output Documentation on Gitbook

SWAT at TAMU

Older SWAT+ versions on Bitbucket

Owner

  • Name: SWAT: Soil & Water Assessment Tool
  • Login: swat-model
  • Kind: organization
  • Location: United States of America

Citation (CITATION.cff)

# This CITATION.cff file is for the SWAT+ Github repository

cff-version: 1.2.0
title: Soil and Water Assessment Tool Plus (SWAT+)
message: >-
  Please cite SWAT+ using the metadata from
  "preferred-citation".
date-released: 2024-08-28
type: software
authors:
  - given-names: Jeffrey G.
    family-names: Arnold
    affiliation: >-
      Grassland Soil and Water Research Laboratory, USDA
      Agricultural Research Service (ARS)
  - given-names: Natalja
    family-names: Čerkasova
    email: natalja.cerkasova@gmail.com
    affiliation: >-
      Blackland Research & Extension Center, Texas A&M
      Agrilife Research, USA; Klaipeda University, Marine
      Research Institute, Lithuania
    orcid: 'https://orcid.org/0000-0003-2894-3935'
  - given-names: Michael J.
    family-names: White
    email: mike.white2@usda.gov
    affiliation: >-
      Grassland Soil and Water Research Laboratory, USDA
      Agricultural Research Service (ARS)
    orcid: 'https://orcid.org/0000-0002-1641-0077'
  - given-names: Ryan
    family-names: Bailey
    email: ryant.bailey@colostate.edu
    affiliation: Colorado State University, Fort Collins, Colorado, USA
    orcid: 'https://orcid.org/0000-0002-6539-1474'
  - given-names: Kelly
    family-names: Thorp
    email: kelly.thorp@usda.gov
    affiliation: >-
      Grassland Soil and Water Research Laboratory, USDA
      Agricultural Research Service (ARS)
    orcid: 'https://orcid.org/0000-0001-9168-875X'
  - given-names: Jaehak
    family-names: Jeong
    email: jaehak.jeong@ag.tamu.edu
    affiliation: >-
      Blackland Research & Extension Center, Texas A&M
      Agrilife Research, Temple, USA
  - given-names: Xuesong
    family-names: Zhang
    affiliation: USDA-ARS Hydrology and Remote Sensing Laboratory
    email: Xuesong.Zhang@usda.gov
    orcid: 'https://orcid.org/0000-0003-4711-7751'
  - given-names: Taci
    family-names: Ugraskan
    email: taci.ugraskan@usda.gov
    affiliation: USDA-ARS Grassland Soil and Water Research Laboratory
  - given-names: Ann
    family-names: Griensven
    name-particle: van
    email: ann.van.griensven@vub.be
    orcid: 'https://orcid.org/0000-0002-2105-6287'
    affiliation: >-
      Vrije Universiteit Brussel, IHE-Delft Institute for
      Water Education
  - given-names: Hendrik
    family-names: Rathjens
    affiliation: Stone Environmental Inc.
    orcid: 'https://orcid.org/0000-0002-7152-9767'
  - given-names: Cibin
    family-names: Raj
    email: craj@psu.edu
    affiliation: >-
      Penn State University, Department of Agricultural and
      Biological Engineering
    orcid: 'https://orcid.org/0000-0001-5374-8504'
  - given-names: Ximing
    family-names: Cai
    email: xmcai@illinois.edu
    affiliation: >-
      Civil and Environmental Engineering, University of
      Illinois at Urbana-Champaign
    orcid: 'https://orcid.org/0000-0002-7342-4512'
  - given-names: William F.
    family-names: Geter
    email: Frank.Geter@colostate.edu
    affiliation: >-
      Department of Civil and Environmental Engineering,
      Colorado State University, Fort Collins, USA
  - given-names: Olaf
    family-names: David
    email: odavid@colostate.edu
    affiliation: >-
      Department of Civil and Environmental Engineering,
      Colorado State University, Fort Collins, USA
  - given-names: Jack R.
    family-names: Carlson
    email: Jack.Carlson@colostate.edu
    affiliation: >-
      Department of Civil and Environmental Engineering,
      Colorado State University, Fort Collins, USA
  - given-names: Kieu N.
    family-names: Le
    email: kle@fieldtomarket.org
    affiliation: >-
      Field to Market: The Alliance for Sustainable
      Agriculture
    orcid: 'https://orcid.org/0000-0002-1662-4796'
identifiers:
  - type: doi
    value: 10.5281/zenodo.14983534
    description: Current release
repository-code: 'https://github.com/swat-model/swatplus'
url: 'https://swatplus.gitbook.io/docs'
abstract: >-
  The Soil and Water Assessment Tool Plus (SWAT+) is a public domain
  model jointly developed by the USDA Agricultural Research Service (USDA-ARS),
  Texas A&M AgriLife Research(part of The Texas A&M University System),
  Colorado State University, USDA-ARS Hydrology and Remote Sensing Laboratory,
  and other entities. SWAT+ is a small watershed to river basin-scale model used
  to simulate the quality and quantity of surface and ground water and predict 
  the environmental impact of land use, land management practices, and climate change.
  SWAT is widely used in assessing soil erosion prevention and control,
  non-point source pollution control and regional management in watersheds.
keywords:
  - SWAT+
  - Soil and Water Assessment Tool
  - Environmental Model
  - Watershed model
  - Hydrological Model
license: LGPL-2.1

GitHub Events

Total
  • Create event: 14
  • Commit comment event: 1
  • Issues event: 10
  • Release event: 10
  • Watch event: 16
  • Delete event: 6
  • Issue comment event: 15
  • Push event: 53
  • Pull request review comment event: 16
  • Pull request review event: 40
  • Pull request event: 109
  • Fork event: 47
Last Year
  • Create event: 14
  • Commit comment event: 1
  • Issues event: 10
  • Release event: 10
  • Watch event: 16
  • Delete event: 6
  • Issue comment event: 15
  • Push event: 53
  • Pull request review comment event: 16
  • Pull request review event: 40
  • Pull request event: 109
  • Fork event: 47

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 49
  • Average time to close issues: 3 months
  • Average time to close pull requests: 1 day
  • Total issue authors: 5
  • Total pull request authors: 9
  • Average comments per issue: 0.43
  • Average comments per pull request: 0.0
  • Merged pull requests: 25
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 49
  • Average time to close issues: 3 months
  • Average time to close pull requests: 1 day
  • Issue authors: 5
  • Pull request authors: 9
  • Average comments per issue: 0.43
  • Average comments per pull request: 0.0
  • Merged pull requests: 25
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pssp240425 (2)
  • kieungocle (2)
  • ashehad (1)
  • jenskiesel (1)
  • Arcenic4444 (1)
Pull Request Authors
  • tugraskan (32)
  • fgeter (16)
  • odav (10)
  • jjeong2019 (4)
  • Copilot (2)
  • pssp240425 (2)
  • arnoldjjms (2)
  • NataljaC (1)
  • mwtoews (1)
  • Mike-Fuchs (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v2 composite
  • actions/upload-artifact v2 composite
  • fortran-lang/setup-fortran v1 composite
  • softprops/action-gh-release v2 composite
.github/workflows/test.yml actions
  • actions/checkout v4 composite
  • fortran-lang/setup-fortran v1 composite
.github/workflows/doc.yml actions
  • actions/checkout v4 composite
  • actions/configure-pages v5 composite
  • actions/deploy-pages v4 composite
  • actions/upload-pages-artifact v3 composite