nc_create_par {pbdNCDF4} | R Documentation |
Creates a new parallel NetCDF file on a parallel file system, given the variables the new file is to contain.
nc_create_par(filename, vars, force_v4 = TRUE, verbose = FALSE, comm = 0L, info = 0L)
filename |
Name of the NetCDF file to be created. |
vars |
Either an object of class |
force_v4 |
If |
verbose |
If |
comm |
a communicator number from pbdMPI. |
info |
a info number from pbdMPI. |
See nc_create
for details.
The parallel version is able to coordinate with other
nc_create_par
instances
for more efficient operation in parallel.
An object of class ncdf4
, which has the fields described
in nc_open
.
George Ostrouchov, Pragneshkumar Patel pragnesh@utk.edu, Wei-Chen Chen, and Drew Schmidt.
Programming with Big Data in R Website: http://r-pbd.org/
nc_open_par
, nc_var_par_access
,
ncdim_def
, ncvar_def
.
## Not run: ### Under command mode, run the demo with 2 processors by ### (Use Rscript.exe for windows system) mpiexec -np 2 Rscript -e "demo(ncwrite,'pbdNCDF4',ask=F,echo=F)" mpiexec -np 2 Rscript -e "demo(ncread,'pbdNCDF4',ask=F,echo=F)" ## End(Not run)