[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #MBZ-895191]: ncdump



Hi Ayman,

> Can the ncdump be used to convert part of (not the whole file) an hdf
> file into ASCII?

If what you have is a general HDF5 file written by HDF5 client software
instead of with the netCDF-4 software, you should use one of the HDF5
utilities such as h5dump

  http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Dump

or h5totxt

  http://ab-initio.mit.edu/h5utils/h5totxt-man.html

If you have a netCDF-4 file, which is a special kind of HDF5 file, then yes,
you can use ncdump to convert part of the file to ASCII.  In particular, if
you just want the declarations and data from one of more of the variables in
the file, use the "-v var1,var2,..." option to ncdump:

  http://www.unidata.ucar.edu/netcdf/docs/ncdump-man-1.html

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: MBZ-895191
Department: Support netCDF
Priority: Normal
Status: Closed