DOI: 10.16904/envidat.529
title: ERRA -- an R script for Ensemble Rainfall-Runoff Analysis

description: ERRA is a data-driven, nonparametric, model-independent method for quantifying rainfall-runoff relationships across a spectrum of time lags, in systems that may be nonlinear, nonstationary, and spatially heterogeneous.
Researchers using ERRA in published work should cite J.W. Kirchner, "Characterizing nonlinear, nonstationary, and heterogeneous hydrologic behavior using Ensemble Rainfall-Runoff Analysis (ERRA): proof of concept", Hydrology and Earth System Sciences, https://doi.org/10.5194/hess-28-4427-2024, 2024 (for ERRA itself) and J.W. Kirchner, "Impulse response functions for nonlinear, nonstationary, and heterogeneous systems, estimated by deconvolution and de-mixing of noisy time series", Sensors, 22(9), 3291, https://doi.org/10.3390/s22093291, 2022 (for the underlying mathematics). 
This data set includes two versions of the ERRA script written in the open-source programming language R, a detailed user's guide, and sample scripts and source data for all of the results in Kirchner (2024). 
These scripts are made publicly available under GNU General Public License 3; for details see https://www.gnu.org/licenses/. The data and documentation are made available under Creative Commons Attribution Share-Alike CC-BY-SA.
ETH Zurich, WSL, and James Kirchner make ABSOLUTELY NO WARRANTIES OF ANY KIND, including NO WARRANTIES, expressed or implied, that this software is free of errors or is suitable for any particular purpose. Users are solely responsible for determining the suitability and reliability of this software for their own purposes.
description: Resource Title: {{deprecated version}} ERRA_scripts.zip
 Size: 114806 bytes
 Format: application/zip
 URL: https://www.envidat.ch/dataset/84277dcd-ccde-4eaf-a65b-d1ecf6a0385c/resource/9e833898-3a78-4e79-83bd-d23c5ba76765/download/erra_scripts.zip
 Description: Zip-compressed folder containing two versions of the ERRA script. ERRA_v1.0.R uses Rcpp to speed up several key calculations, but requires a C++ compiler. ERRA_v1.0_no_Rcpp.R is a bit slower but does not require a C++ compiler or Rcpp. Public use of these scripts is permitted under GNU General Public License 3 (GPL3); for details see https://www.gnu.org/licenses/
description: Resource Title: Demonstration scripts.zip
 Size: 65404535 bytes
 Format: application/zip
 URL: https://www.envidat.ch/dataset/84277dcd-ccde-4eaf-a65b-d1ecf6a0385c/resource/ca1f4818-aff6-4b13-a83d-82376dde2834/download/demonstration-scripts.zip
 Description: Zip-compressed folder containing demonstration scripts, source data, and output files for the ERRA results shown in "Introduction to ERRA" and in J.W. Kirchner, "Characterizing nonlinear, nonstationary, and heterogeneous hydrologic behavior using Ensemble Rainfall-Runoff Analysis (ERRA): proof of concept", Hydrology and Earth System Sciences, 2024.
description: Resource Title: {{deprecated version}} An introduction to ERRA.pdf
 Size: 3161369 bytes
 Format: application/pdf
 URL: https://www.envidat.ch/dataset/84277dcd-ccde-4eaf-a65b-d1ecf6a0385c/resource/51f419cd-f933-4cad-88b4-a20ac7dcf545/download/an-introduction-to-erra.pdf
 Description: "An introduction to ERRA" presents a series of vignettes that introduce some of the capabilities of the Ensemble Rainfall-Runoff Analysis (ERRA) script, and that show how to invoke them. This introduction also includes documentation for ERRA function calls, largely reproducing the documentation embedded in the ERRA script itself.
description: Resource Title: ERRA_scripts_v1.06.zip
 Size: 114453 bytes
 Format: application/zip
 URL: https://www.envidat.ch/dataset/84277dcd-ccde-4eaf-a65b-d1ecf6a0385c/resource/64819efe-d661-41c8-8410-f61665564c05/download/erra_scripts_v1.06.zip
 Description: Zip-compressed folder containing two versions of the ERRA script. ERRA_v1.06.R uses Rcpp to speed up several key calculations, but requires a C++ compiler. ERRA_v1.06_no_Rcpp.R is a bit slower but does not require a C++ compiler or Rcpp. Public use of these scripts is permitted under GNU General Public License 3 (GPL3); for details see https://www.gnu.org/licenses/
description: Resource Title: An introduction to ERRA v1.06.pdf
 Size: 3165458 bytes
 Format: application/pdf
 URL: https://www.envidat.ch/dataset/84277dcd-ccde-4eaf-a65b-d1ecf6a0385c/resource/0c048816-816a-4c1f-bedf-32be20e4d4c2/download/an-introduction-to-erra-v1.06.pdf
 Description: "An introduction to ERRA" presents a series of vignettes that introduce some of the capabilities of the Ensemble Rainfall-Runoff Analysis (ERRA) script, and that show how to invoke them. This introduction also includes documentation for ERRA function calls, largely reproducing the documentation embedded in the ERRA script itself.