50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


hddtools (version 0.3.0)

catalogueGRDC: Interface for the Global Runoff Data Centre database catalogue

Description

This function interfaces the Global Runoff Data Centre database which provides river discharge data for about 9000 sites over 157 countries.

Usage

catalogueGRDC(bbox = NULL, stationID = NULL, metadataColumn = NULL, entryValue = NULL, mdDescription = FALSE)

Arguments

bbox
bounding box, a list made of 4 elements: minimum longitude (lonMin), minimum latitude (latMin), maximum longitude (lonMax), maximum latitude (latMax)
stationID
Station ID number, it should be in the range [1104150,6990700]
metadataColumn
name of the column to filter
entryValue
value to look for in the column named metadataColumn
mdDescription
boolean value. Default is FALSE (no description is printed)

Value

list of stations within the bounding box

Examples

Run this code
## Not run: 
#   # Retrieve the whole catalogue
#   catalogueGRDC()
# 
#   # Define a bounding box
#   bbox <- list(lonMin=-3.82,latMin=52.41,lonMax=-3.63,latMax=52.52)
# 
#   # Filter the catalogue
#   catalogueGRDC(bbox)
# ## End(Not run)

Run the code above in your browser using DataLab