Re: [R] adding variable to netCDF file

2010-09-18 Thread Peter Ehlers
On 2010-09-07 13:58, Cable, Samuel B Civ USAF AFMC AFRL/RVBXI wrote: I would like to open an existing netCDF file and add a variable to it. I am using the ncdf package. This test code gives the idea of what I am trying to do: library(ncdf) print('here we go') print('first, construct netCDF fi

[R] adding variable to netCDF file

2010-09-07 Thread Cable, Samuel B Civ USAF AFMC AFRL/RVBXI
I would like to open an existing netCDF file and add a variable to it. I am using the ncdf package. This test code gives the idea of what I am trying to do: library(ncdf) print('here we go') print('first, construct netCDF file') t<-dim.def.ncdf('t','',1:1,unlim=T,create_dimvar=F) print('definin