search for: lscalevar

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

Did you mean: local_var
2012 Aug 21
1
ncdf - writing variable to a file
...w it fails. I can't find "create.var.ncdf" in help Thanks for any help. Mark nc <- open.ncdf(ncname, readunlim=FALSE, write=TRUE ) missing <- 1.e+30 xdim <- nc$dim[["west_east"]] ydim <- nc$dim[["south_north"]] tdim <- nc$dim[["Time"]] lscalevar <- var.def.ncdf(scalenames[ivar], 'gpoints', list(xdim,ydim,tdim), missing ) nc <- var.add.ncdf( nc, lscalevar ) for( i in 1:nt) put.var.ncdf(nc,lscalevar,scale,verbose=TRUE ) #scale is an array dimensioned (nx,ny) [1] "Hint: make SURE the variable was not only defined with a...