NASA Logo, National Aeronautics and Space Administration

Data Format Translation Tools

Below is a list of the data translations (linked or made from CDF V3.9.0) that are currently available:
  • CDF-to-netCDF: Can convert CDF to netCDF V3, classic or V4. For V3 or classic, those non-supported data types from CDF will be converted to the netCDF types that can preserve the data values as much as possible: e.g., CDF_UINT1 to NC_SHORT, CDF_UINT2 to NC_INT, CDF_UINT4 and CDF_INT8 to NC_DOUBLE. The epoch types, CDF_EPOCH, CDF_EPOCH16 and CDF_TIME_TT2000 are presented in NC_CHAR.
  • CDF-to-FITS
  • CDF-to-ASCII (Text dump of a CDF file)
  • CDF-to-CDF Skeleton table
  • CDF-to-CDFML (XML representation of CDF)
  • CDFML-to-CDF
  • netCDF-to-CDF: The download-able module supports netCDF V4 (but not uint64 and user defined data types).
  • FITS-to-CDF
  • HDF4-to-CDF
  • CDF-to-Json: Convert CDF to Json representation of CDF in Java.
  • Json-to-CDF: Convert Json representation of CDF back to CDF in Java.
  • HDF5-to-CDF (Reads the HDF5 text dump from HDF Group's h5dump and makes a CDF. The converter will be provided upon request)

Individual Translators Download

Most of the translators are available either in binary or source code.
  • The CDF-to-ASCII tool (cdfexport or cdfdump) is included in the CDF distribution package, and this tool is available in the <cdf_install_dir>/bin directory.
  • CDF <=> XML tools are Java-based. They are in the cdfml.jar file in the CDF distribution's classes (lib on Windows) directory. Its help information can be view here.
  • CDF <=> Json tools are also Java-based. They are in the cdfjson.jar file in the same CDF distribution's classes (lib on Windows) directory. Its help information can be view here.

Source Code Download

If you would like to have a copy of any of the translators listed below installed on your local machine or desktop, please download the translator(s) of interest and follow the instructions in the README.install or INSTALL file.

Binary Download

The table listed below are available for download. Please contact us if you need pre-built binary for any other platforms that are not included.

For Unix-based systems, the translator is packaged as a compressed file. You need to run Unix's tar command something this: tar -zxvt xxxxx.tar.gz where xxxxx.tar.gz is the compressed download to extract the files. Before you run the application, please update your PATH environment variable to include the directory that has the extracted translator.

Note: CDF-to-netCDF and netCDF-to-CDF converters for Windows are combined into a single .zip file.

Linux (Intel) Mac OS X (Intel/ARM) Windows
CDF-to-netCDF Download Download Download
netCDF-to-CDF Download Download Download
CDF-to-FITS Download Download Download
FITS-to-CDF Download Download Download
HDF4-to-CDF Download Download Download
CDF-to-PDS Download Download Download

If you have any questions or encounter problems, please send an email to cdfsupport and we'll respond as soon as possible.