HDFGroup / HDFGroup/hdf5

h5diff fails comparing references

Open
#4,134 0 comments 0 reactions 1 assignee Assigned to @jhendersonHDF View on GitHub
Component - Tools
Dominant language
C
Stars
988
Forks
355
Avg merge
4d 2h
Merged PRs (30d)
12

Description

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

dataset: and
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.