romsdata | R Documentation |
romsdata
always works in the first two dimensions (x-y), the more specialist functions will
work in the space indicated by their name roms_xy
, roms_xt
and so on.
roms_xy(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
roms_xz(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
roms_xt(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
roms_yz(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
roms_yt(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
roms_zt(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
romsdata(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
romsdata2d(x, varname = "", slice = c(1L, 1L), transpose = TRUE, ...)
romsdata3d(
x,
varname = "",
slice = 1L,
transpose = TRUE,
verbose = TRUE,
...,
lvar = 4L
)
x |
ROMS file name |
varname |
name of ROMS variable |
slice |
index in w and t (depth and time), defaults to first encountered |
transpose |
the extents (ROMS is FALSE, Access is TRUE) |
... |
unused |
verbose |
be chatty |
lvar |
passed to |
RasterLayer
#x <- raadtools:::cpolarfiles()$fullname[1]
#plot(roms_xy(x, "u"))
#plot(roms_xz(x, "u", slice = c(392L,1L)), asp = NA)
#plot(roms_xt(x, "u", slice = c(392L,1L)), asp = NA)
#plot(roms_yz(x, "u"))
#plot(roms_yt(x, "u", slice = c(1L,1L)), asp = NA)
#plot(roms_zt(x, "u", slice = c(1L, 392L)), asp = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.