sl.grid.readNCDF | R Documentation |
Read a NetCDF grid (e.g. a FESOM grid) using the ncdf4
library.
sl.grid.readNCDF(filename)
filename |
a character specifying the path and name of the NetCDF grid description file. |
A list with all variables contained in the grid description file.
When reading very large grids and not all grid variables are needed (e.g., only centre lon-lats and not the larger-size corresponding bounds), it might be advisable (because faster) to read only required fields. To do so, use the ncdf4
library directly with nc_open
and ncvar_get
(also see the code of sl.grid.readNCDF
).
Helge Goessling
sl.grid.readFESOM
, sl.grid.writeCDO
, sl.grid.writeFESOM
# To be provided ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.