create_data/gs/create_gs.R

d <- read.table("gs.dat", header=TRUE)
longitude <- d$Lon
month <- 1:12
latitude <- as.matrix(d[,1+month], ncol=12)
gs <- list(month=month, longitude=longitude, latitude=latitude)
save(gs, file="gs.rda")
library(tools)
tools::resaveRdaFiles("gs.rda")
dankelley/ocedata documentation built on Aug. 29, 2023, 9:50 p.m.