View source: R/download_ERDDAP.R
download_ERDDAP | R Documentation |
Download_ERDDAP
queries the ERDDAP API for global sea-surface temperature and chlorophyll-a with reasonable temperal coverage
download_ERDDAP(Lat_bounds = c(min = 53, max = 66), Lon_bounds = c(min =
-180, max = -157), Date_bounds = c(min = "06-01", max = "10-01"),
Year_set = 2010, Variable = "SST", by = c(Lat = 1, Lon = 1, Day = 1))
Lat_bounds |
minimum and maximum Latitude boundaries for downloading data |
Lon_bounds |
minimum and maximum Longitude boundaries |
Date_bounds |
minimum and maximum dates (in 'month-day' format), where data are averaged across this range |
Year_set |
Numeric vector of years to query |
Variable |
character giving variable to download (options are 'SST' or 'Chl-a') |
A data frame of ERDDAP data
Latitude
Longitude
ERDDAP data columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.