nc_subset | R Documentation |
Subset a ncdf variable
nc_subset( filename, varid, output, newvarid, compression, force_v4 = FALSE, ..., ignore.case = FALSE, drop = FALSE )
filename |
The name of the ncdf file to subset. |
varid |
The name of the variable to subset. If missing and only one variable in the file, that one is used. |
output |
The name of the ncdf output file to create. |
newvarid |
New name for varid in the output file. |
compression |
Compression level for the new variable (forces ncdf v4). |
force_v4 |
Logical. Should the resulting file be ncdf v4? |
... |
the dimensions and bounds of values to subset. |
ignore.case |
Logical. Ignore case when matching the dimensions? |
drop |
Logical. Drop degenered dimensions (i.e. dimensions of length 1)? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.