HDF Home 
hdiff

hdiff usage

hdiff is a command line tool that compares two HDF files and reports the differences between them. Only datasets, attributes and vdata objects are compared.

This document presents the basic usage of the program. Additional output information with several cases can be found in the examples document.

Usage

The usage and options are

hdiff [-g] [-s] [-d] [-S] [-v ...] [-e counnt] [-t limit] file1 file2
  [-g]              Compare global attributes only
  [-s]              Compare SD local attributes only
  [-d]              Compare SD data only
  [-D]              Compare Vdata data only
  [-S]              Print statistics
  [-v var1[,...]]   Compare SD data on variable(s) <var1>,... only
  [-u var1[,...]]   Compare vdata on variable(s) <var1>,... only
  [-e count]        Print difference up to count number for each variable
  [-t limit]        Print difference when it is greater than limit
  file1             File name of the first input HDF file
  file2             File name of the second input HDF file
 

HDF Help Desk
Last modified: June 17, 2003
Describes hdiff