SWAT+ output to Marine Modelling System (AquaINFRA) input connection tool

This code converts SWAT+ output (https://swat.tamu.edu/) of water quantity (Flow out and Temperature) in sqlite format to date input for the Marine Modelling System (based in MITgcm) in txt format. The tool uses R code and libraries DBI, RSQLite, and dplyr to correct the date format and dataframe structure.

tordera use case AquaINFRA R conversion MITgcm

Inputs
Id Title Data Type Description
swat_output_file SWAT+ Variable Outputs Database object SQLite database (thread_1.sqlite) storing the simulated output values based on the defined time range and time step (daily, monthly, yearly, or annual average).