'Morning,

I noticed that using the FLET/SHUF/GZIP filters during a whole-file
h5repack operation seems to destroy comments.  This feels wrong as a
default behavior and nothing in h5repack -h suggests I can prevent it.

Recreate below using the small attached HDF5 file.  The recreate
behaves identically on 1.8.9 and 1.8.11.  I didn't see anything in the
1.8.12 and 1.8.13 changelogs that looked like a fix for this, but I
could be wrong.

Known issue?  Any workarounds?

- Rhys

$ h5dump --version
h5dump: Version 1.8.11

$ h5dump -H orig.h5
HDF5 "orig.h5" {
GROUP "/" {
   DATASET "chan.visc" {
   COMMENT "Viscous information per documentation of
suzerain_channel_viscous and suzerain_channel_qoi"
      DATATYPE  H5T_STD_I32LE
      DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }
      ...
   }
}
}

$ h5repack --version
h5repack: Version 1.8.11

$ h5repack -f FLET orig.h5 pack.h5  # or SHUF or GZIP=9

[5023 rhys@setun coleman3k01]$ h5dump -H pack.h5
HDF5 "pack.h5" {
GROUP "/" {
   DATASET "chan.visc" {
      DATATYPE  H5T_STD_I32LE
      DATASPACE  SIMPLE { ( 1 ) / ( 1 ) }
      ...
   }
}
}

Attachment: orig.h5
Description: Binary data

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to