plot_GSIM: Plot all GSIM time series with data quality flags

Description Usage Arguments Details Value

Description

Creates pngs of streamflow time series plots of monthly discharge (m^3/s) for all GSIM gauges with at least 10 years of data, excluding years with more than 20 days of missing data.

Usage

1
plot_GSIM(in_GSIMgaugestats, yearthresh, inp_resdir, maxgap, showmissing)

Arguments

in_GSIMgaugestats

data.table (or list of data.tables) with time series and intermittency statistics for all GSIM gauging stations.

yearthresh

(integer) minimum year from which to plot discharge record.

inp_resdir

(character) path to the results directory in which to create folder and write output plots

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

the output graphs are written into two separate newly created directories in inp_resdir called GSIMir_rawplots_yearthresh_YYYYMMDD and GSIMper_rawplots_yearthresh_YYYYMMDD (e.g., GSIMir_rawplots_1800_20200512 and GSIMper_rawplots_1800_20200512). The first contains plots for non-perennial gauging stations and the second contains plots for perennial gauging stations.

Each plot is generated by plotGSIMtimeseries. Daily streamflow records from GSIM stations are unavailable. Therefore, the graph shows the following:

Value

nothing (empty data.table)


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