if (interactive()) {
# get atlas
NOAAatlas <- get_NOAA("oxygen", 1, "annual")
# filter atlas for specific depth and coordinate location
filter_NOAA(NOAAatlas, 30, list(lon = c(-160, -120), lat = c(11, 12)))
}
Run the code above in your browser using DataLab