Learn R Programming

pbdNCDF4 (version 0.1-0)

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
### 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')"

Run the code above in your browser using DataLab