Displaying 1 result from an estimated 1 matches for "south_north".
2012 Aug 21
1
ncdf - writing variable to a file
...ble to an existing file.
Below is a part of my script and how 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] &quo...