Skip to content

h5diff fails comparing references #4134

Open
@byrnHDF

Description

@byrnHDF
 ./bin/h5diff --enable-error-stack --verbose=2 tdatareg.h5 trefer_reg.h5 Dataset1 Dataset1

dataset: </Dataset1> and </Dataset1>
Warning: different storage datatype
2 differences found
   obj1   obj2
 --------------------------------------
Attributes status:  0 common, 0 only in obj1, 0 only in obj2
HDF5: infinite loop closing library
      L,T_top,F,P,P,Z,FD,VL,VL,PL,E,SL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL


HDF5 "tdatareg.h5" {
GROUP "/" {
   DATASET "Dataset1" {
      DATATYPE  H5T_REFERENCE { H5T_STD_REF_DSETREG }
      DATASPACE  SIMPLE { ( 4 ) / ( 4 ) }
      DATA {
         DATASET "tdatareg.h5/Dataset2" {
            REGION_TYPE BLOCK  (2,2)-(7,7)
            DATATYPE  H5T_STD_U8BE
            DATASPACE  SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
            DATA {
            }
         }
         DATASET "tdatareg.h5/Dataset2" {
            REGION_TYPE POINT  (6,9), (2,2), (8,4), (1,6), (2,8), (3,2),
             (0,4), (9,0), (7,1), (3,3)
            DATATYPE  H5T_STD_U8BE
            DATASPACE  SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
            DATA {
            }
         }
         NULL
         NULL
      }
   }


HDF5 "trefer_reg.h5" {
GROUP "/" {
   DATASET "Dataset1" {
      DATATYPE  H5T_REFERENCE { H5T_STD_REF }
      DATASPACE  SIMPLE { ( 4 ) / ( 4 ) }
      DATA {
         DATASET "trefer_reg.h5/Dataset2" {
            REGION_TYPE BLOCK  (2,2)-(7,7)
            DATATYPE  H5T_STD_U8LE
            DATASPACE  SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
            DATA {
            }
         }
         DATASET "trefer_reg.h5/Dataset2" {
            REGION_TYPE POINT  (6,9), (2,2), (8,4), (1,6), (2,8), (3,2),
             (0,4), (9,0), (7,1), (3,3)
            DATATYPE  H5T_STD_U8LE
            DATASPACE  SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
            DATA {
            }
         }
         DATASET "trefer_reg.h5/Dataset2"
         DATASET "trefer_reg.h5/Dataset2"
      }
   }


Both files are in the h5dump testfiles folder

Metadata

Metadata

Labels

Component - ToolsCommand-line tools like h5dump, includes high-level toolsPriority - 1. HighThese are important issues that should be resolved in the next release

Type

Projects

Status

To be triaged

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions