Learn R Programming

pbdNCDF4 (version 0.1-4)

ncdump: Shell Command of ncdump

Description

Call ncdump and print the results.

Usage

ncdump(filename, args = "-h")

Arguments

filename
Name of the NetCDF file to be created.
args
as the options in the shell command of ncdump.

Value

Messages of details of the NetCDF file will be printed.

References

Programming with Big Data in R Website: http://r-pbd.org/

See Also

nc_create_par, nc_open_par, nc_var_par_access.

Examples

Run this code
## 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 "ncdump('test_par.nc')"
# ## End(Not run)

Run the code above in your browser using DataLab