VTKHDF unstructured grid with transient topology fails to read

I am trying to read a VTKHDF file which contains an UnstructuredGrid with transient data. The transient data is for the points, but also for the topology, different steps have different number of cells.

This is the output of h5dump -H on the file

HDF5 "lines.vtkhdf" {
GROUP "/" {
   GROUP "VTKHDF" {
      ATTRIBUTE "Type" {
         DATATYPE  H5T_STRING {
            STRSIZE 16;
            STRPAD H5T_STR_NULLPAD;
            CSET H5T_CSET_ASCII;
            CTYPE H5T_C_S1;
         }
         DATASPACE  SCALAR
      }
      ATTRIBUTE "Version" {
         DATATYPE  H5T_STD_I32LE
         DATASPACE  SIMPLE { ( 2 ) / ( 2 ) }
      }
      DATASET "Connectivity" {
         DATATYPE  H5T_STD_I32LE
         DATASPACE  SIMPLE { ( 22 ) / ( H5S_UNLIMITED ) }
      }
      DATASET "NumberOfCells" {
         DATATYPE  H5T_STD_I32LE
         DATASPACE  SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) }
      }
      DATASET "NumberOfConnectivityIds" {
         DATATYPE  H5T_STD_I32LE
         DATASPACE  SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) }
      }
      DATASET "NumberOfPoints" {
         DATATYPE  H5T_STD_I32LE
         DATASPACE  SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) }
      }
      DATASET "Offsets" {
         DATATYPE  H5T_STD_I32LE
         DATASPACE  SIMPLE { ( 14 ) / ( H5S_UNLIMITED ) }
      }
      DATASET "Points" {
         DATATYPE  H5T_IEEE_F32LE
         DATASPACE  SIMPLE { ( 22, 3 ) / ( H5S_UNLIMITED, 3 ) }
      }
      GROUP "Steps" {
         ATTRIBUTE "NSteps" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SCALAR
         }
         DATASET "CellOffsets" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 3, 1 ) / ( H5S_UNLIMITED, 1 ) }
         }
         DATASET "ConnectivityIdOffsets" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 3, 1 ) / ( H5S_UNLIMITED, 1 ) }
         }
         DATASET "NumberOfParts" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) }
         }
         DATASET "PartOffsets" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) }
         }
         DATASET "PointOffsets" {
            DATATYPE  H5T_STD_I32LE
            DATASPACE  SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) }
         }
         DATASET "Values" {
            DATATYPE  H5T_IEEE_F32LE
            DATASPACE  SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) }
         }
      }
      DATASET "Types" {
         DATATYPE  H5T_STD_U8LE
         DATASPACE  SIMPLE { ( 11 ) / ( H5S_UNLIMITED ) }
      }
   }
}
}

AFAIK, everything is correct

However, when I load this file in ParaView, the first step, which contains 3 lines, looks correct but the second step, which contains 4 lines, only renders 3. Spreadsheet view show nothing changes for the Cells.

This is the file
lines.vtkhdf (92.8 KB)

image

@Lucas_Givord @Louis_Gombert