Displaying 1 result from an estimated 1 matches for "variable_byte".
2010 Feb 25
0
missing values in 'ncdf', integer versus byte
...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")
ncfilename <- "test.nc"
ncfile <- create.ncdf(ncfilename,list(v...