Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

An R code for event analysis of concentration-discharge relationships and hysteresis

Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI ( for information on this resource.
Type: Resource
Storage: The size of this resource is 18.1 KB
Created: Sep 15, 2020 at 11:58 a.m.
Last updated: Oct 14, 2021 at 6:42 a.m.
DOI: 10.4211/hs.dcbd27b20cee4ebcb92436acb94fa6c3
Citation: See how to cite this resource
Sharing Status: Published
Views: 952
Downloads: 116
+1 Votes: 1 other +1 this
Comments: No comments (yet)


This R code uses joint time series of concentration and discharge to (1) separate discharge events and store them in a data frame (events_h) and (2) analyse C-Q relationships including hysteresis, derive metrics describing these and store them in a data frame (eve.des).
The R code is provided as TXT and as R-file.
The code is written by Qing Zhan, Rémi Dupas, Camille Minaudo and Andreas Musolff.

This code is used and further descriped in this paper:
A. Musolff, Q. Zhan, R. Dupas, C. Minaudo, J. H. Fleckenstein, M. Rode, J. Dehaspe & K. Rinke (2021)
Spatial and Temporal Variability in Concentration-Discharge Relationships at the Event Scale.
Water Resourcers Research Volume 57, Issue 10

Subject Keywords




People or Organizations that contributed technically, materially, financially, or provided general support for the creation of the resource's content but are not considered authors.

Name Organization Address Phone Author Identifiers
Rémi Dupas UMR INRA/Agrocampus 65, rue de St-Brieuc, CS 84215, 35042 Rennes Cedex, France
Camille Minaudo EPFL ENAC IIE APHYS GR A2 425 (Bâtiment GR), Station 2, CH-1015 Lausanne, Switzerland
Qing Zhan Netherlands Institute of Ecology (NIOO-KNAW) Droevendaalsesteeg 10, 6708 PB Wageningen, The Netherlands

How to Cite

Musolff, A. (2021). An R code for event analysis of concentration-discharge relationships and hysteresis, HydroShare,

This resource is shared under the Creative Commons Attribution CC BY.


There are currently no comments

New Comment