Skip to content

AquaCropPlotter is an R Shiny app for processing and visualizing FAO AquaCrop model output files.

Notifications You must be signed in to change notification settings

Risk-Team/AquaCropPlotter

Repository files navigation


AquaCropPlotter: R Shiny application for visualizing AquaCrop model results


GitHub R package version

Status

Link to the app

Link to the manual

Background

AquaCrop is the crop-water productivity model developed by FAO. Currently, AquaCrop produces output txt files that can be difficult to process and visualize. AquaCropPlotter fills that gap by automatically reading the output simulations of AquaCrop and producing meaningful plots and statistics that the user can automatically embed into reports. AquaCropPlotter works with the outputs of both AquaCrop versions 6 and 7. Previous versions are not recognized by the app.

Where to find AquaCropPlotter

Online

AquaCropPlotter is currently hosted in shinyapps.io so you do not need to install anything on your local computer. Simply connect to the server.

Local installation through R

However, if you want to run AquaCropPlotter locally, simply install it from GitHub:

# if you are using windows you would likely need to resolve some dependencies issues when installing the library devtools
install.packages("devtools")
library(devtools)
install_github("Risk-Team/AquaCropPlotter/AquaCropPlotter")

Then to launch the app:

library(AquaCropPlotter)
aquacropplotter()

The app comes with some example data. To find the data on your local computer after installing the app, run:

system.file("data/", package="AquaCropPlotter")

Local installation through installer (Windows only)

If you are on Windows, you can also install the app locally by executing the installer

AquaCropPlotter workflow

Regardless of whether you use the app locally or online, the app would work in the same way. workflow

AquaCropPlotter Manual

The manual can be found here