plotGSIMtimeseries: Plot a GSIM time series

Description Usage Arguments Details Value Source

Description

Creates a plot of monthly discharge (m^3/s) for a GSIM gauging stations Save plot to png if path is provided.

Usage

1
2
3
4
5
6
plotGSIMtimeseries(
  GSIMgaugestats_record,
  outpath = NULL,
  maxgap = 366,
  showmissing = FALSE
)

Arguments

GSIMgaugestats_record

a data containing structure with a column called "path" towards a standard montly GSIM text file containing. In this project, e.g. the output from comp_GSIMdurfreq.

outpath

(character) path for writing output png plot (default is no plotting).

maxgap

(integer) threshold number of missing daily records to consider a calendar year unfit for analysis.

showmissing

(logical) whether to show records in years with number of missing daily records beyond maxgap.

Details

Daily streamflow records from GSIM stations are unavailable. Therefore, the graph shows the following:

Value

plot

Source

Gudmundsson, L., Do, H. X., Leonard, M., & Westra, S. (2018). The Global Streamflow Indices and Metadata Archive (GSIM) – Part 2: Quality control, time-series indices and homogeneity assessment. Earth System Science Data, 10(2), 787–804. https://doi.org/10.5194/essd-10-787-2018


NaiaraLopezRojo/globalIRmap documentation built on Dec. 17, 2021, 5:19 a.m.