search for: variable_int

Displaying 1 result from an estimated 1 matches for "variable_int".

2010 Feb 25
0
missing values in 'ncdf', integer versus byte
...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(variable_byte,variable_int)) array <- c(1:5,NA,7:10) put.var.ncdf(ncfile,variable_byte,array,start=1,count=10)...