readformatGSIMsea: Read and pre-format GSIM seasonal data

Description Usage Arguments Details Value Source

Description

Reads text file of seasonal discharge indices for a single GSIM station. Creates columns for year, month, and season Estimate the minimum possible number of monthly zero-flow days based on indices

Usage

1

Arguments

path

(character) path to the text file of seasonal discharge data in standard GSIM format (.mon file).

Details

the monthly minimum number of zero flow days n0 is estimated with percentile statistics like: if P90==0, then n0 = as.integer(floor(0.9n.available)), if else P80==0, then n0 = as.integer(floor(0.8n.available)), if else P70 ... ... else if MIN7 == 0, then n0 = 7 else if MIN == 0, then n0 = 1, else n0 = 0

For more information on GSIM, see Gudmundsson et al. (2018).

Value

data.table of monthly indices, with additional attributes including the estimated minimum number of zero-flow days "mDur_minmo"

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.