A DuckDB extension for reading HDF5 files.
Maintainer(s):
jokasimr
Installing and Loading
INSTALL h5db FROM community;
LOAD h5db;
Example
FROM h5_read('file.h5', '/some/dataset', '/another');
About h5db
This extension provides functions for reading data and metadata from HDF5 files.
Features:
h5_tree()table function for listing groups and datasets in the file.h5_read()table function for reading datasets.h5_attributes()table function for accessing attributes.- Multiple datasets: Read and combine multiple datasets in a single query.
- Multi-dimensional arrays: Support for 1D-4D datasets.
- Projection pushdown: Only reads datasets that are actually needed.
- Index column: Optionally adds an
indexcolumn that supports pushing down constant "range" like filters (>,<=,BETWEEN, etc), to allow efficient selective reads from datasets. - Can read datasets that are larger than memory.
For full documentation see: https://github.com/jokasimr/h5db.
Added Functions
| function_name | function_type | description | comment | examples |
|---|---|---|---|---|
| h5_alias | scalar | NULL | NULL | |
| h5_attributes | table | NULL | NULL | |
| h5_index | scalar | NULL | NULL | |
| h5_read | table | NULL | NULL | |
| h5_rse | scalar | NULL | NULL | |
| h5_tree | table | NULL | NULL | |
| h5db_version | scalar | NULL | NULL |