Published November 5, 2025 | Version 1.0
Software Open

R workflow to generate SWATfarmR input

  • 1. ROR icon Helmholtz Centre for Environmental Research

Description

This repository provides an automated R workflow to combine field-scale crop-rotation data with crop-specific and generic management schedules. Output of this workflow is the file farmR_input.csv, which can be directly used within the SWATfarmR package to generate SWAT+ management files (`management.sch`, `plant.ini`).  
  
Download and unpack `SWATfarmR_input.zip`, adapt all required input files and run the workflow as described in the README.

The procedure is described in much more detail in Chapter 4 of the OPTAIN SWAT+ Modelling Protocol (Schürz et al., 2022).  

Files

README.pdf

Files (1.0 MB)

Name Size Download all
md5:dd0c1739a5d3260ddbb8e0e8c8078151
226.4 kB Preview Download
md5:cdd90b6db83aba474b9733fe69749536
785.4 kB Preview Download

Additional details

Funding

European Commission
OPTAIN - OPtimal strategies to retAIN and re-use water and nutrients in small agricultural catchments across different soil-climatic regions in Europe 862756

Dates

Created
2023-12-05

Software

Programming language
R

References

  • Schürz Christoph, Čerkasova Natalja, Farkas Csilla, Nemes Attila, Plunge Svajunas, Strauch Michael, Szabó Brigitta, & Piniewski Mikołaj. (2022). SWAT+ modeling protocol for the assessment of water and nutrient retention measures in small agricultural catchments (Version 1). Zenodo. https://doi.org/10.5281/zenodo.7463395