Learn R Programming

hddtools (version 0.3.0)

tsGRDC: Interface for the Global Runoff Data Centre database of Monthly Time Series

Description

This function interfaces the Global Runoff Data Centre monthly mean daily discharges database.

Usage

tsGRDC(stationID, plotOption = FALSE)

Arguments

stationID
7 character number that identifies a station, GRDC station number is called "grdc no" in the catalogue.
plotOption
boolean to define whether to plot the results. By default this is set to TRUE.

Value

The function returns a list of 3 tables:
  • LQ: lowest monthly discharge of the given year
  • month: associated month of occurrence
  • MQ: mean discharge of all monthly discharges in the given year
  • HQ: highest monthly discharge of the given year
  • month: associated month of occurrence
  • n: number of available values used for MQ calculationFirst item
  • LQ: lowest monthly discharge from the entire period
  • MQ_1: mean discharge of all monthly discharges in the period [m3/s]
  • MQ_2: mean discharge volume per year of all monthly discharges in the period [km3/a]
  • MQ_3: mean runoff per year of all monthly discharges in the period [mm/a]
  • HQ: highest monthly discharge from the entire periode
  • n: number of available months used for MQ calculation
  • LQ: lowest monthly discharge of the given month in the entire period
  • year: associated year of occurrence (only the first occurence is listed)
  • MQ: mean discharge from all monthly discharges of the given month in the entire period
  • HQ: highest monthly discharge of the given month in the entire period
  • year: associated year of occurrence (only the first occurence is listed)
  • std: standard deviation of all monthly discharges of the given month in the entire period
  • n: number of available daily values used for computation

Details

Please note that not all the GRDC stations listed in the catalogue have monthly data available.

Examples

Run this code
## Not run: 
#   x <- tsGRDC(stationID=1107700)
# ## End(Not run)

Run the code above in your browser using DataLab