h5toh4 notes


This note considers details of the h5toh4 conversion,

Simple changes to current tool:

1. Groups:

a) Root group is special.
i)  add command option to omit root group
ii)  Root group may have attributes that should be made into annotations, global attrs.
These chould be written to the appropriate HDF4 objects.
b) Special groups omit from HDF4
  HDF4_DIMSCALES, HDF4_PALETTES, etc.
c) Other groups: include attributes of the groups as HDF4 attributes

2. Datasets

a) if CLASS=PALLET -- need to figure out how to create correct palettes, don't duplicate, etc.
b) if CLASS=IMAGE -- make GR image if possible, include palettes
c) if CLASS=Table -- make Vdata if possible
d) datasets in group HDF4_DIMGROUP --make dimensions?  how?
e) else:  include
i) attributes
ii)  dimension scales
iii) storage properties?

3. Other
a) what about softlinks?
b) what about other datatypes?:  H5T_ARRAY, H5T_ENUM, etc.
c) convert H5 object references to HDF4 tag/ref in attribute?
d) partial I/O

Documentation:

Update the tool page.

Will need to update the HDF4 to HDF5 Mapping document.