Grid an Argo float, by interpolating to fixed pressure levels.
The gridding is done with
approx(). If there is
sufficient user demand, other methods may be added, by analogy to
argoGrid(argo, p, debug = getOption("oceDebug"), ...)
Optional indication of the pressure levels to which interpolation
should be done. If this is not supplied, the pressure levels will be
calculated based on the existing values, using medians. If
A flag that turns on debugging. Higher values provide deeper debugging.
Optional arguments to
x an argo object.
Data-quality flags contained within the original object are ignored by this
function, and the returned value contains no such flags. This is because such
flags represent an assessment of the original data, not of quantities derived
from those data. This function produces a warning to this effect. The
recommended practice is to use
handleFlags() or some other means to
deal with flags before calling the present function.
Dan Kelley and Clark Richards
Other things related to argo data:
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.