Description Usage Arguments Value See Also Examples
A function to extract data from the NetCDF file saved by trmm2ncdf
1 | extract_ncdf(dat, start = NULL, count = NULL)
|
dat |
an object inheriting class trmmNCDF as created by trmm2ncdf |
start |
the start index. A vector of indices indicating where to start reading the passed values (beginning at 1). The length of this vector must equal the number of dimensions the variable has. If not specified, reading starts at the beginning of the file (1,1,1,...). |
count |
A vector of integers indicating the count of values to read along each dimension. The length of this vector must equal the number of dimensions the variable has. If not specified and the variable does NOT have an unlimited dimension, the entire variable is read. As a special case, the value '-1' indicates that all entries along that dimension should be read. By default this extracts data for the first time point. |
an array or matrix with the requested data
trmm2ncdf
1 2 3 | ## Not run: extract_ncdf(dat=dat)
## Not run: extract_ncdf(dat=dat,start=c(1,1,1,1),count=c(1,2,3,1))
## Not run: extract_ncdf(dat=dat,start=c(1,1,1,1),count=c(-1,1,1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.