hdiff(1)

hdiff1

Compares two hdf files and reports the differences

Usage

hdiff [-V] [-b] [-g] [-s] [-d] [-D] [-S] [-v var1 [, ...]] [-u var1 [, ...]] [-e count] [-t limit] [-p relative] file1 file2

Overview

hdiff compares two HDF files and reports the differences.

Options

FC-VF[0]

Display version of the HDF4 library and exit

FC-bF[0]

Verbose mode

FC-gF[0]

Compare global attributes only

FC-sF[0]

Compare SD local attributes only

FC-dF[0]

Compare SD data only

FC-DF[0]

Compare Vdata data only

FC-SF[0]

Print statistics

FC-vF[0] var1[,...]

Compare SD data on variable(s) var1,... only

FC-uF[0] var1[,...]

Compare vdata on variable(s) var1,... only

FC-eF[0] count

Print difference up to count number for each variable

FC-tF[0] limit

Print difference when it is greater than limit

FC-pF[0] relative

Print difference when it is greater than a relative limit

FCfile1F[0]

File name of the first HDF file

FCfile2F[0]

File name of the second HDF file

The 'count' value must be a positive integer

The 'limit' and 'relative' values must be positive numbers

The FC-tF[0] compare criteria is |a - b| > limit

The FC-pF[0] compare criteria is |(b-a)/a| > relative

Return codes: 0 (no differences found), 1 (differences found)

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–10
  2. 11–13

From hdf4-tools 4.3.0-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.