# NOT RUN {
# toy example to show use
# but keep execution time down
# }
# NOT RUN {
dataInfo <- rerddap::info('erdHadISST')
# }
# NOT RUN {
parameter <- 'sst'
xcoord <- c(-130.5)
ycoord <- c(40.5)
tcoord <- c('2006-01-16')
xlen <- 0.01
ylen <- 0.01
extract <- rxtracto(dataInfo, parameter = parameter, xcoord = xcoord,
ycoord = ycoord, tcoord= tcoord,
xlen = xlen, ylen = ylen)
# }
# NOT RUN {
# 2-D example getting bathymetry
dataInfo <- rerddap::info('etopo360')
parameter <- 'altitude'
extract <- rxtracto(dataInfo, parameter, xcoord = xcoord, ycoord = ycoord,
xlen = xlen, ylen = ylen)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab