View source: R/load_NOAA_OISST_V2.R
load_NOAA_OISST_V2 | R Documentation |
This function extracts information from NOAA OISST V2 NetCDF files available at ftp://ftp.cdc.noaa.gov/Datasets/noaa.oisst.v2.highres/ directory
load_NOAA_OISST_V2(FILE_NAME, LONS, LATS, DATE, extract.value = "sst")
FILE_NAME |
full path to NetCDF data file |
LONS |
Point longitudes |
LATS |
Point latitudes |
DATE |
date considered |
extract.value |
which data to extract: "sst" - SST, "err" - SST error, "icec" - sea ice concentration |
A vector of values for each lon lat pair given the extract.value
NetCDF files should be downloaded from the links on:
http://www.esrl.noaa.gov/psd/data/gridded/data.noaa.oisst.v2.highres.html
In addition to the temperature data files, also download a copy of the landmask file lsmask.oisst.v2.nc from the same page. Inside the NetCDF files, data are available on a 0.25 degree latitude x 0.25 degree longitude global grid (720x1440 cells) From -89.875N to 89.875N, 0.125E to 359.875E. Locations are at the CENTER of a grid cell.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.