Advanced search for ERDDAP tabledep or griddap datasets
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(),
...
)
(character) Search terms
(integer) Page number. Default: 1
(integer) Results per page: Default: 1000
(character) One of any (default), tabledep or griddap
(character) One of grid, other, point, profile, timeseries, timeseriesprofile, trajectory, trajectoryprofile
(character) An institution. See the dataset
institutions
(character) An ioos category See the dataset
ioos_categories
(character) A keywords. See the dataset keywords
(character) A long name. See the dataset longnames
(character) A standar dname. See the dataset
standardnames
(character) A variable name. See the dataset
variablenames
(numeric) Minimum and maximum longitude. Some datasets have longitude values within -180 to 180, others use 0 to 360. If you specify min and max Longitude within -180 to 180 (or 0 to 360), ERDDAP will only find datasets that match the values you specify. Consider doing one search: longitude -180 to 360, or two searches: longitude -180 to 180, and 0 to 360.
(numeric) Minimum and maximum latitude, between -90 and 90
(numeric/character) Minimum and maximum time. Time string with the format "yyyy-MM-ddTHH:mm:ssZ, (e.g., 2009-01-21T23:00:00Z). If you specify something, you must include at least yyyy-MM-dd; you can omit Z, :ss, :mm, :HH, and T. Always use UTC (GMT/Zulu) time. Or specify the number of seconds since 1970-01-01T00:00:00Z.
A URL for an ERDDAP server. Default:
https://upwell.pfeg.noaa.gov/erddap/ - See eurl()
for
more information
Curl options passed on to crul::verb-GET (must be named parameters)
https://upwell.pfeg.noaa.gov/erddap/index.html
if (FALSE) {
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])
}