Previous: ncdump Next: NcML Table of contents Frames 2011 Unidata NetCDF Workshop > NetCDF Utilities

5.2 Examples of ncdump use
Examples of common uses of ncdump
  1. To look at just the header information (also called the schema or metadata):

    $ ncdump -h mslp.nc
    output Show popup
  2. To look at header and coordinate information, but not the data:

    $ ncdump -c mslp.nc
    output Show popup
  3. To look at all the data in the file, in addition to the metadata:

    $ ncdump mslp.nc
    output Show popup
  4. To look at a subset of the data by specifying one or more variables:

    $ ncdump -v lat,time mslp.nc
    output Show popup
  5. To see times in human-readable form:

    $ ncdump -t -v lat,time mslp.nc
    output Show popup
  6. To look at what kind of netCDF data is in the file (classic, 64-bit offset, netCDF-4, or netCDF-4 classic model):

    $ ncdump -k mslp.nc
    
    classic
    
    

 


Previous: ncdump Next: NcML Table of contents Frames 2011 Unidata NetCDF Workshop > NetCDF Utilities