Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
1 of 5 committers (20.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.3%) to scientific vocabulary
Keywords from Contributors
Repository
Running SWAT projects within R
Basic Info
- Host: GitHub
- Owner: chrisschuerz
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://chrisschuerz.github.io/SWATrunR/
- Size: 29.4 MB
Statistics
- Stars: 74
- Watchers: 12
- Forks: 34
- Open Issues: 16
- Releases: 7
Metadata Files
README.md
SWATrunR 
SWATrunR integrates your SWAT2012 and SWAT+ projects in R modeling workflows. SWATrunR's key function is to execute SWAT in a project folder located on a hard drive and return simulation results in R. Running SWAT models with SWATrunR allows the user to control the essential parameters of a simulation run, such as model parameter changes, simulation periods, or time intervals for output printing. The formatting of SWAT simulation outputs in R follow the tidy data principle. This clear output data structure facilitates an efficient processing of the simulation outputs in any data analysis workflow in R and promotes a compatibility with many other R packages. SWATrunR provides some great features, such as parallel processing to run simulations with different parameter sets in parallel, or incremental writing of simulation outputs to SQLite data bases to store large outputs and safely perform computationally expensive simulation experiments.
Installation
You can install the SWATrunR from the package's GitHub repository:
```r
If the package remotes is not installed run first:
install.packages("remotes")
remotes::install_github("chrisschuerz/SWATrunR") ```
SWATrunR will be constantly updated and new features will find their way into the R package from time to time. Any updates and fixed issues are documented in the Changelog. Bugs and open issues are documented in the R package's issue section. If you encounter any issues, or want to suggest any new features I encourage you to do so there. Please also check the closed issues to see if your question is related to anything that was already solved before.
Package workflow
run_swatplus() and run_swat2012() are the core SWATrunR functions to perform simulations in the SWAT project folder located on the local hard drive and to return the simulation results back to the R environment. The simulation outputs that are returned in R are defined with the function define_output(). define_output() translates easily readable output definitions into commands to extract the simulation results from a SWAT+ or a SWAT2012 simulation run, by maintaining the same syntax for both models. SWATdata is an accompanying R package that provides SWAT+ and SWAT2012 demo projects that you can instantly start working with SWATrunR. With load_demo() you can access the SWAT demo projects and other useful demo data such as observation data. With load_swat_run() and scan_swat_run() you can load or just get an overview of SWAT simulations that were stored incrementally in SQLite databases.
Getting started
The Get started page is a good starting point to learn the basics for working with a SWAT project in R. It covers the following basics:
- Loading a demo project >>
- Performing first SWAT model runs in R >>
- Performing parameter changes in a SWAT run >>
- Saving and loading SWAT simulations >>
- A short overview of further
run_swat*()input arguments >>
The Reference pages document all functions of SWATrunR and provide descriptions of the function input arguments and short examples on how to use the functions.
Additional materials on the usage of SWATrunR and short tutorials how you can integrate SWATrunR in typical SWAT modelling workflows will be added in the Articles section over time.
Owner
- Name: Christoph Schuerz
- Login: chrisschuerz
- Kind: user
- Location: Berlin, Germany
- Company: UFZ Leipzig, Germany
- Repositories: 2
- Profile: https://github.com/chrisschuerz
GitHub Events
Total
- Issues event: 9
- Watch event: 3
- Issue comment event: 13
- Push event: 4
- Fork event: 4
Last Year
- Issues event: 9
- Watch event: 3
- Issue comment event: 13
- Push event: 4
- Fork event: 4
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Christoph Schuerz | c****z@b****t | 429 |
| dependabot[bot] | 4****] | 2 |
| Nan-Hung Hsieh | n****3@h****m | 2 |
| Edberto Moura Lima | e****a@g****m | 2 |
| willem | w****t@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 79
- Total pull requests: 6
- Average time to close issues: 4 months
- Average time to close pull requests: 18 days
- Total issue authors: 47
- Total pull request authors: 5
- Average comments per issue: 2.86
- Average comments per pull request: 0.17
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 10
- Pull requests: 0
- Average time to close issues: 26 days
- Average time to close pull requests: N/A
- Issue authors: 6
- Pull request authors: 0
- Average comments per issue: 1.1
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- seyounger (7)
- mgf-unige (6)
- rafaelnavas (4)
- jsacerot (4)
- Jakirullah (3)
- jmule88 (3)
- insight4d-connect (2)
- AMAS-89 (2)
- Svenja-vS (2)
- EdM44 (2)
- florentpapini (2)
- hinckleyb (2)
- MOG91 (2)
- waterhanBsu (2)
- chrisschuerz (2)
Pull Request Authors
- dependabot[bot] (2)
- EdbertoLima (2)
- chrisschuerz (1)
- nanhung (1)
- WillemVervoort (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- R >= 4.0 depends
- RSQLite >= 2.1.1 imports
- dbplyr >= 1.3.0 imports
- doSNOW >= 1.0.16 imports
- dplyr >= 0.8.0.1 imports
- foreach >= 1.4.4 imports
- lubridate >= 1.7.4 imports
- parallel >= 3.5.3 imports
- processx >= 3.4.5 imports
- purrr >= 0.3.2 imports
- readr >= 2.0 imports
- stringr >= 1.4.0 imports
- tibble >= 2.1.1 imports
- tidyselect >= 1.1 imports
- devtools * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests