| create.nc {RNetCDF} | R Documentation |
Create a new NetCDF dataset.
create.nc(filename, clobber=TRUE)
filename |
Filename for the NetCDF dataset to be created. |
clobber |
The creation mode. If TRUE (default), any existing dataset with the same filename will be overwritten. Otherwise set to FALSE. |
This function creates a new NetCDF dataset, returning an object of class "NetCDF" that can be used in R. A creation mode flag specifies whether to overwrite any existing dataset with the same name.
Object of class "NetCDF" which points to the NetCDF dataset.
Pavel Michna
http://www.unidata.ucar.edu/packages/netcdf/
## Create a void NetCDF dataset
nc <- create.nc("foo.nc")
close.nc(nc)