Description Usage Arguments Details Value
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.
1 | plot_GSIM(in_GSIMgaugestats, yearthresh, inp_resdir, maxgap, showmissing)
|
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 |
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:
The y-axis is square-root transformed.
Blue points: mean monthly discharge
Light blue background shading: mean ± 2SD monthly discharge
Black points: minimum and maximum monthly discharge
Red points show minimum monthly discharge values equal to 0
Purple points show months for which all daily discharge values are equal to 0.
nothing (empty data.table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.