Skip to content

Obtaining HDF5 compression information #16

Description

@mkitti

I noticed the following comment:

Always returns {@link CompressionType}#RAW because I could not yet find a meaningful way to get information about the compression of a dataset.

To obtain compression information, we need to perform the following steps:

  1. Obtain Dataset Creation Property List (DCPL) from the dataset

  2. Query the DCPL for the number of filters

  3. Query the DCPL for each filter by iterating over the filter index

  4. Alternatively, query the DCPL for known compression filters

With JHDF5 19.04, it should be easier to access this API. However, we may need to perform the HDF5 access hack as in bigdataviewer-core:
https://github.com/bigdataviewer/bigdataviewer-core/blob/master/src/main/java/bdv/export/HDF5AccessHack.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions