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

1
2
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

Author(s)

Claudia Vitolo

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)