Learn R Programming

hddtools (version 0.8.2)

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 string 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 6 tables:

  • LTVDThis is a table containing seasonal variability of river discharge based on original daily data. It is made of 8 columns:

    • LTV_LMM_Monthly__MM: calendar month

    • LTV_LDM_Day__Value: lowest daily discharge value in each calendar month in the given time series, calculated from lowest values of each calendar month in consecutive calendar years.

    • LTV_LDM_Day__YYYY_MM_DD: Date of occurrence of lowest daily discharge

    • LTV_MDM_Day__MM: calendar month

    • LTV_MDM_Day__Value: mean of daily discharge values in each calendar month in the given time series, calculated from monthly means of each calendar month in consecutive calendar years.

    • LTV_HDM_Day__MM: calendar month

    • LTV_HDM_Day__Value: highest daily discharge value in each calendar month in the given time series, calculated from highest values of each calendar month in consecutive calendar years.

    • LTV_HDM_Day__YYYY_MM_DD: Date of occurrence of highest daily discharge

  • LTVMThis is a table containing seasonal variability of river discharge based on monthly data. It is made of 8 columns:

    • LTV_LMM_Monthly__MM: calendar month

    • LTV_LMM_Monthly__Value: lowest monthly discharge value in each calendar month in the given time series, calculated from lowest values of each calendar month in consecutive calendar years.

    • LTV_LMM_Monthly__YYYY_MM_DD: Date of occurrence of lowest monthly discharge

    • LTV_MMM_Month__MM: calendar month

    • LTV_MMM_Month__Value: mean of monthly discharge values in each calendar month in the given time series, calculated from values of each calendar month in consecutive calendar years..

    • LTV_HMM_Month__MM: calendar month

    • LTV_HMM_Month__Value: highest monthly discharge value in each calendar month in the given time series, calculated from highest values of each calendar month in consecutive calendar years.

    • LTV_HMM_Month__YYYY_MM_DD: Date of occurrence of highest monthly discharge

  • PVDThis is a table containing ... It is made of 7 columns:

    • LQ_Day__Value: lowest daily discharge value in the given time series, calculated from lowest values of consecutive calendar years.

    • LQ_Day__YYYY_MM_DD: Date of occurrence of lowest daily discharge

    • MLQ_Day__Value: mean of lowest daily discharge values in the given time series, calculated from lowest values of consecutive calendar years.

    • MQ_Day__Value: mean of daily discharge values in the given time series, calculated from yearly means of consecutive calendar years.

    • MHQ_Day__Value: mean of highest daily discharge values in the given time series, calculated from highest values of consecutive calendar years.

    • HQ_Day__Value: highest daily discharge value in the given time series, calculated from highest values of consecutive calendar years.

    • HQ_Day__YYYY_MM_DD: Date of occurrence of highest daily discharge

  • PVMThis is a table containing ... It is made of 5 columns:

    • LQ_Month__Value: lowest monthly discharge value in the given time series, calculated from lowest yearly values of consecutive calendar years.

    • LQ_Month__YYYY_MM: month of first occurence of lowest monthly discharge

    • MQ_Month__Value: mean of monthly discharge values in the given time series, calculated from yearly means of consecutive calendar years.

    • HQ_Month__Value: highest monthly discharge value in the given time series, calculated from highest yearly values of consecutive calendar years.

    • HQ_Month__YYYY_MM: month of first occurence of highest monthly discharge

  • YVDThis is a table containing ... It is made of 12 columns:

    • Year_Min_Day__YYYY: calender year

    • Year_Min_Day__Value: Lowest daily discharge value in the given calendar year, calculated from 12 lowest monthly values in the year in question.

    • Year_Min_Day__YYYY_MM_DD: date of first occurence

    • Year_Mean_Min_Day__YYYY: calender year

    • Year_Mean_Min_Day__Value: mean of lowest daily discharge values in the given calendar year, calculated from 12 lowest monthly values in the year in question.

    • Year_Mean_Day__YYYY: calender year

    • Year_Mean_Day__Value: Mean of daily discharge values in the given calendar year, calculated from 12 monthly means in the year in question.

    • Year_Mean_Max_Day__YYYY: calender year

    • Year_Mean_Max_Day__Value: mean of highest daily discharge values in the given calendar year, calculated from 12 highest monthly values in the year in question.

    • Year_Max_Day__YYYY: calender year

    • Year_Max_Day__Value: highest daily discharge value in the given calendar year, calculated from 12 highest monthly values in the year in question.

    • Year_Max_Day__YYYY_MM_DD: date of first occurence

  • YVMThis is a table containing ... It is made of 8 columns:

    • Year_Min_Month__YYYY: calender year

    • Year_Min_Month__Value: lowest monthly discharge value in the given calendar year, calculated from 12 monthly values in the year in question.

    • Year_Min_Month__YYYY_MM: month of first occurence

    • Year_Mean_Month__Value: mean of monthly discharge values in the given calendar year, calculated from 12 monthly values in the year in question.

    • Year_Max_Month__YYYY: calender year

    • Year_Max_Month__Value: highest monthly discharge value in the given calendar year, calculated from 12 monthly values in the year in question.

    • Year_Max_Month__YYYY_MM: month of first occurence

Details

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

Examples

Run this code
# NOT RUN {
  Adaitu <- tsGRDC(stationID = "1577602")
  Adaitu <- tsGRDC(stationID = catalogueGRDC()$grdc_no[1000],
                   plotOption = TRUE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab