I'm getting some output from h5diff which seems wrong.

[dws@oxygen02 history]$ /usr/local/contrib/hdf5-1.8.8-par/bin/h5diff -v -p 
1e-30 ptclTrackTagFromAbsorber1s_HistoryOld.h5 
/scr1_oxygen/dws/jenkins/workspace/vorpalall-build/qarnodes/oxygen/vptests/vpresults-oxygen/history/ptclTrackTagFromAbsorber1s/ptclTrackTagFromAbsorber1s_HistoryOld.h5
 /trajectory
dataset: </trajectory> and </trajectory>
size:           [339x7x6]           [339x7x6]
position        trajectory      trajectory      difference      relative       
------------------------------------------------------------------------
[ 0 1 0 ]          1.678294506e+243 0               1.678294506e+243 1          
   
[ 0 1 1 ]          9.047791808e+164 0               9.047791808e+164 1          
   
[ 0 1 2 ]          4.78541875e+175 0               4.78541875e+175 1            
 
[ 0 1 3 ]          4.440349806e-38 0               4.440349806e-38 1            
 
[ 0 1 4 ]          4.545801862e+97 0               4.545801862e+97 1            
 
[ 0 1 5 ]          8.535925984e-307 0               8.535925984e-307 1          
   
[ 0 2 0 ]          3.952525167e-322 0               3.952525167e-322 1          
   
[ 0 2 1 ]          3.119382268e-319 0               3.119382268e-319 1          
   
[ 0 2 2 ]          9.698666729e-317 0               9.698666729e-317 1          
   
[ 0 2 3 ]          6.920039978e-310 0               6.920039978e-310 1          
   
[ 0 2 4 ]          4.193339982e+228 0               4.193339982e+228 1          
   
[ 0 2 5 ]          1.129002081e+277 0               1.129002081e+277 1          
   
[ 0 3 0 ]          1.355073239e+248 0               1.355073239e+248 1          
   
[ 0 3 2 ]          3.162020133e-322 0               3.162020133e-322 1          
   
[ 0 3 3 ]          3.162020133e-322 0               3.162020133e-322 1          
   
[ 0 3 5 ]          2.60988666e+180 0               2.60988666e+180 1            
 
[ 0 4 0 ]          4.193339982e+228 0               4.193339982e+228 1          
   
[ 0 4 1 ]          1.129002081e+277 0               1.129002081e+277 1          
   
[ 0 4 2 ]          1.355073239e+248 0               1.355073239e+248 1          
   
[ 0 4 5 ]          3.113058228e-319 0               3.113058228e-319 1          
   
[ 0 5 0 ]          4.824065618e+228 0               4.824065618e+228 1          
   
[ 0 5 1 ]          2.60988666e+180 0               2.60988666e+180 1            
 
[ 0 5 2 ]          4.193339982e+228 0               4.193339982e+228 1          
   
[ 0 5 3 ]          1.129002081e+277 0               1.129002081e+277 1          
   
[ 0 5 4 ]          1.355073239e+248 0               1.355073239e+248 1          
   

The diffs says that element (0,1,0) of the /trajectory dataset is  
1.678294506e+243 (in bold above), but when I use h5dump to look at the dataset, 
I see 0s:

...
 DATASET "trajectory" {
      DATATYPE  H5T_IEEE_F64LE
      DATASPACE  SIMPLE { ( 339, 7, 6 ) / ( H5S_UNLIMITED, H5S_UNLIMITED, 
H5S_UNLIMITED ) }
      DATA {
      (0,0,0): 1.09772e-05, 1.007e+12, 0, 0, 8, 0,
      (0,1,0): 0, 0, 0, 0, 0, 0,
      (0,2,0): 0, 0, 0, 0, 0, 0,
      (0,3,0): 0, 0, 0, 0, 0, 0,
      (0,4,0): 0, 0, 0, 0, 0, 0,
      (0,5,0): 0, 0, 0, 0, 0, 0,
      (0,6,0): 0, 0, 0, 0, 0, 0,
      (1,0,0): 1.10752e-05, 1.00993e+12, 0, 0, 8, 0,
      (1,1,0): 0, 0, 0, 0, 0, 0,
      (1,2,0): 0, 0, 0, 0, 0, 0,
      (1,3,0): 0, 0, 0, 0, 0, 0,
      (1,4,0): 0, 0, 0, 0, 0, 0,
      (1,5,0): 0, 0, 0, 0, 0, 0,
      (1,6,0): 0, 0, 0, 0, 0, 0,
...

Any ideas what's going on here. The datatype in both files is H5T_IEEE_F64LE, 
so I know this is not a datatype comparison issue.

Thanks,
Dave

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to