diff --git a/README.md b/README.md index a0aa976..511eb56 100644 --- a/README.md +++ b/README.md @@ -53,17 +53,52 @@ Example of working without the user interface, please see the RSWAT vignettes: vignette("SUFI2_without_GUI",package="RSWAT") ``` +# Quick demo (streamflow calibration with SWAT) -## Citing RSWAT +```R +# Call RSWAT graphical user interface: DO NOT use RSWAT:showRSWAT() +library(RSWAT) -**Nguyen, T. V.**, Dietrich, J., Dang, D. T., Tran, D. A., Doan, B. V., Sarrazin, F. J., Abbaspour, K., Srinivasan, R. (2022). An interactive graphical interface tool for parameter calibration, sensitivity analysis, uncertainty analysis, and visualization for the Soil and Water Assessment Tool. Environmental Modelling & Software, 156, 105497. https://doi.org/10.1016/j.envsoft.2022.105497. +# Extract example data (TODO: replace C:/example with your folder) +extracExampleData(exampleData, "all", "C:/example") -**Nguyen, T. V.** (2024). RSWAT: An R package for the Soil and Water Assessment Tool models. Submitted to The Journal of Open Source Software. +# We still need SWAT executable for this demo +# which can be downloaded from https://swat.tamu.edu/software/swat-executables/ -# GUI of RSWAT +# Now show the interface and run with example data (detail of each step are shown below) +showRSWAT() +``` (NOTE: in the latest version, the user interface could be slightly difference)

- +

+ +

+ +

+ +

+ +

+ +

+ +

+ +

+ +

+ +

+ +

+ + + +## Citing RSWAT + +**Nguyen, T. V.**, Dietrich, J., Dang, D. T., Tran, D. A., Doan, B. V., Sarrazin, F. J., Abbaspour, K., Srinivasan, R. (2022). An interactive graphical interface tool for parameter calibration, sensitivity analysis, uncertainty analysis, and visualization for the Soil and Water Assessment Tool. Environmental Modelling & Software, 156, 105497. https://doi.org/10.1016/j.envsoft.2022.105497. + +**Nguyen, T. V.** (2024). RSWAT: An R package for the Soil and Water Assessment Tool models. Submitted to The Journal of Open Source Software. \ No newline at end of file diff --git a/inst/R-SWAT/figures/1.PNG b/inst/R-SWAT/figures/1.PNG new file mode 100644 index 0000000..fae8aaf Binary files /dev/null and b/inst/R-SWAT/figures/1.PNG differ diff --git a/inst/R-SWAT/figures/2.PNG b/inst/R-SWAT/figures/2.PNG new file mode 100644 index 0000000..f63fd34 Binary files /dev/null and b/inst/R-SWAT/figures/2.PNG differ diff --git a/inst/R-SWAT/figures/3.PNG b/inst/R-SWAT/figures/3.PNG new file mode 100644 index 0000000..817d0f1 Binary files /dev/null and b/inst/R-SWAT/figures/3.PNG differ diff --git a/inst/R-SWAT/figures/41.PNG b/inst/R-SWAT/figures/41.PNG new file mode 100644 index 0000000..379f97f Binary files /dev/null and b/inst/R-SWAT/figures/41.PNG differ diff --git a/inst/R-SWAT/figures/42.PNG b/inst/R-SWAT/figures/42.PNG new file mode 100644 index 0000000..01c7b3c Binary files /dev/null and b/inst/R-SWAT/figures/42.PNG differ diff --git a/inst/R-SWAT/figures/43.PNG b/inst/R-SWAT/figures/43.PNG new file mode 100644 index 0000000..a478730 Binary files /dev/null and b/inst/R-SWAT/figures/43.PNG differ diff --git a/inst/R-SWAT/figures/RSWAT.gif b/inst/R-SWAT/figures/RSWAT.gif deleted file mode 100644 index f2368ef..0000000 Binary files a/inst/R-SWAT/figures/RSWAT.gif and /dev/null differ diff --git a/inst/R-SWAT/ui.R b/inst/R-SWAT/ui.R index a4bd703..02e7387 100644 --- a/inst/R-SWAT/ui.R +++ b/inst/R-SWAT/ui.R @@ -7,7 +7,7 @@ ui <- shinydashboard::dashboardPage( # ----------------------------------------------------------------------Header shinydashboard::dashboardHeader( # Name of the app - title = "RSWAT (v1.0)", + title = "RSWAT (v4.0)", # Add two buttons in the header for saving and loading project tags$li(class = "dropdown",