Displaying 2 results from an estimated 2 matches for "vardims".
2010 Feb 25
0
missing values in 'ncdf', integer versus byte
I'm working with the ncdf package, and I'm seeing a behavior which I
am unsure whether it is a bug or a feature. I am creating a variable,
which I make with the precision of "byte" and also set a missing
value, When I put into this variable, all my NA values are put in
properly as the missing value. However, when I read it back, I get
the missing value rather than NA.
1999 Jan 02
3
.C
.../* number of dimensions in variable */
/* This argument is created automatically by S+'s
.C for pointers=T variables */
char **vartype) /* character string describing S object type */
{
...
*varlen = dimval = (long *)S_alloc(ndims,sizeof(long));
...
}
S+ call:
...
vardims <- integer(0) # Length of each dimension
vartype <- "" # "integer","single","double" etc
# get info about variable
cdf <- .C("inquire_varid",
cdfid = cdfid,
varid = varid,...