search for: vardim

Displaying 2 results from an estimated 2 matches for "vardim".

Did you mean: vadim
2010 Feb 25
0
missing values in 'ncdf', integer versus byte
...missing value. However, when I read it back, I get the missing value rather than NA. However, if I have a variable with precision of "integer" it comes back as NA. Is this the desired behavior? If so, how might I read missing byte values as NA? The following shows the behavior: -- vardim<-dim.def.ncdf("variable","units", 1:10) variable_byte<- var.def.ncdf("as.byte","case",dim=vardim,missval=-99,prec="byte") variable_int<- var.def.ncdf("as.int","case",dim=vardim,missval=-99,prec="integer") nc...
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,...