Description Usage Arguments Value
Emulate the A[B]
matrix indexing behaviour in R for NetCDF
connections whilst avoiding reading large arrays into memory.
1 | nc.imtx(ncfile, variable, imtx)
|
ncfile |
NetCDF object (see |
variable |
character string; the variable name in the NetCDF file |
imtx |
integer matrix; the indices to read; must have the same number of columns as variable has dimensions; must contain only positive integers and no NAs; ideally the range of values in some or most columns would not be very large to avoid reading a large array into working memory |
a vector whose type corresponds to that of variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.