Last chance! 50% off unlimited learning
Sale ends in
argoGrid(argo, p, debug=getOption("oceDebug"), ...)
argo
object to be gridded.p="levitus"
, then pressures wapprox
, which is used
to do the gridding.class
"argo"
that contains a
pressure matrix with constant values along the first index.approx
. If there is
sufficient user demand, other methods may be added, by analogy to
sectionGrid
.argo-class
explains the
structure of argo objects, and also outlines the other functions dealing
with them.library(oce)
data(argo)
g <- argoGrid(argo, p=seq(0, 100, 1))
par(mfrow=c(2,1))
t <- g[["time"]]
z <- -g[["pressure"]][,1]
## Set zlim because of spurious temperatures.
imagep(t, z, t(g[['temperature']]), ylim=c(-100,0), zlim=c(0,20))
imagep(t, z, t(g[['salinity']]), ylim=c(-100,0))
Run the code above in your browser using DataLab