This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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