Description Usage Arguments Value Examples
xtracto_3D
uses the ERD ERDDAP data web service to extact
environmental data in a given longitude, latitude and time bounding box
1 | xtracto_3D(dtype, xpos, ypos, tpos = NA, verbose = FALSE)
|
dtype |
- number or string identifying the ERDDAP parameter to extract |
xpos |
- 2-element array giving min and max longitude (in decimal degrees East, either 0-360 or -180 to 180) |
ypos |
- 2-element array giving min and max latitude (in decimal degrees N; -90 to 90) |
tpos |
- 2-element array giving min and max time (specify both minimum and maximum dates). For the last available time, use "last". Default NA. |
verbose |
- logical for verbose download output, default FALSE |
structure with data and dimensions:
extract$data - the data array dimensions (lon,lat,time)
extract$varname - the name of the parameter extracted
extract$datasetname - ERDDAP dataset name
extract$longitude - the longitudes on some scale as request
extract$latitude - the latitudes always going south to north
extract$time - the times of the extracts
1 2 3 4 5 6 7 8 9 | xpos <- c(-130., -125.)
ypos <- c(30., 35.)
tpos <- c('2015-01-16', '2015-02-16')
extract <- xtracto_3D('mhsstdmday', xpos, ypos, tpos = tpos)
xpos <- c(230, 231)
ypos <- c(40, 41)
tpos <- c('2006-05-05', '2006-05-06')
extract <- xtracto_3D('erdMBsstd8day', xpos, ypos, tpos = tpos, verbose=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.