get_USdata: Compute intermittency statistics for US gauging stations

Description Usage Arguments Details Value

Description

Download original daily data from the USGS National Water Information System for U.S. stations and compute intermittency statistics.

Usage

1
get_USdata(in_ids, maxyear, verbose = F)

Arguments

in_ids

(character vector) unique USGS identifiers for gauging stations (e.g., "05540130")

maxyear

(integer) maximum year to include in computation of intermittency statistics

verbose

whether to print the in_ids

Details

This function is implemented in analyzemerge_gaugeir to compare intermittency statistics obtained directly from USGS data compared to those obtained from GSIM. This was implemented because it appears that GSIM rounded discharge data to two decimals when converting cubic feet to cubic meters per second. Therefore, any discharge alue < 0.005 was considered zero.

Value

data.table with time series record size and intermittency statistics computed by comp_irstats


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