Learn R Programming

rerddap (version 0.3.0)

ed_search_adv: Advanced search for ERDDAP tabledep or griddap datasets

Description

Advanced search for ERDDAP tabledep or griddap datasets

Usage

ed_search_adv(query = NULL, page = 1, page_size = 1000, protocol = NULL,
  cdm_data_type = NULL, institution = NULL, ioos_category = NULL,
  keywords = NULL, long_name = NULL, standard_name = NULL,
  variableName = NULL, maxLat = NULL, minLon = NULL, maxLon = NULL,
  minLat = NULL, minTime = NULL, maxTime = NULL, url = eurl(), ...)

Arguments

query
(character) Search terms
page
(integer) Page number. Default: 1
page_size
(integer) Results per page: Default: 1000
protocol
(character) One of any (default), tabledep or griddap
cdm_data_type
(character) One of grid, other, point, profile, timeseries, timeseriesprofile, trajectory, trajectoryprofile
institution
(character) An institution. See the dataset institutions.
ioos_category
(character) An ioos category See the dataset ioos_categories.
keywords
(character) A keywords. See the dataset keywords.
long_name
(character) A long name. See the dataset longnames.
standard_name
(character) A standar dname. See the dataset standardnames.
variableName
(character) A variable name. See the dataset variablenames.
maxLat
(numeric) Maximum latitude
minLon
(numeric) Minimum longitude
maxLon
(numeric) Maximum longitude
minLat
(numeric) Minimum latitude
minTime
(numeric) Minimum time
maxTime
(numeric) Maximum time
url
A URL for an ERDDAP server. Default: http://upwell.pfeg.noaa.gov/erddap/
...
Further args passed on to GET (must be a named parameter)

References

http://upwell.pfeg.noaa.gov/erddap/index.html

Examples

Run this code
ed_search_adv(query = 'temperature')
ed_search_adv(query = 'temperature', protocol = "griddap")
ed_search_adv(query = 'temperature', protocol = "tabledap")
ed_search_adv(maxLat = 63, minLon = -107, maxLon = -87, minLat = 50, protocol = "griddap")
ed_search_adv(maxLat = 63, minLon = -107, maxLon = -87, minLat = 50, protocol = "tabledap")
ed_search_adv(minTime = "2010-01-01T00:00:00Z", maxTime="2010-02-01T00:00:00Z")
(out <- ed_search_adv(maxLat = 63, minLon = -107, maxLon = -87, minLat = 50,
             minTime = "2010-01-01T00:00:00Z", maxTime="2010-02-01T00:00:00Z"))
out$alldata[[1]]
ed_search_adv(variableName = 'upwelling')
ed_search_adv(query = 'upwelling', protocol = "tabledap")

# use a different URL
ed_search_adv(query = 'temperature', url = servers()$url[6])

Run the code above in your browser using DataLab