A data frame containing the Southern Oscillation Index with
columns named year for decimal year (sampled monthly and represented
at mid-month) and index for the index.
Usage
data(soi)
Arguments
Details
The data were downloaded from [1] and processed with the following
library(ncdf4)
url <- "https://www.cgd.ucar.edu/cas/catalog/climind/SOI.nc"
download.file(url, "SOI.nc")
f <- nc_open("SOI.nc")
year <- as.vector(ncvar_get(f, "TIME"))
index <- as.vector(ncvar_get(f, "SOI_SIGNAL"))
ok <- is.finite(index)
year <- year[ok]
index <- index[ok]
soi <- data.frame(year=year, index=index)