sl.grid.writeFESOM | R Documentation |
Write a FESOM grid into FESOM-readable ascii files '.out'. SO FAR ONLY PARTIALLY IMPLEMENTED.
sl.grid.writeFESOM(outpath, grd, griddir.name = "FESOM_grid", which.files = NULL, overwrite = FALSE, width = NULL, nsmall = NULL, verbose = TRUE)
outpath |
a character specifying the root path where to write the FESOM grid. |
grd |
a spheRlab grid as returned by |
griddir.name |
a character specifying the name of the directory (within the root path specified by |
which.files |
|
overwrite |
a logical value indicating whether or not to overwrite already existing files. If |
width |
|
nsmall |
|
verbose |
a logical value indicating whether or not print statements shall report on the function progess. |
THIS FUNCTION IS ONLY PARTIALLY IMPLEMENTED: Currently only 'nod2d.out' and 'nod3d.out' can be written. The functionality will be extended when needed.
Helge Goessling
sl.grid.readFESOM
, sl.grid.writeCDO
## Not run:
grid = sl.grid.readFESOM(griddir="PATH-TO-YOUR-FESOM-GRID",rot=TRUE,rot.invert=TRUE,rot.abg=c(50,15,-90),threeD=TRUE)
sl.grid.writeFESOM(outpath="PATH-TO-NEW-ROTATED-GRID",grd=grid,griddir.name="newgrid")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.