Module hdf5

Module hdf5 

Source
Expand description

HDF5 file format module

Provides functionality for reading and writing HDF5 (Hierarchical Data Format) files:

  • Reading and writing HDF5 groups and datasets
  • Support for attributes on groups and datasets
  • Multiple datatypes (integers, floats, strings, compound types)
  • Chunking and compression options
  • Integration with ndarray for efficient array operations HDF5 file format support

This module provides functionality for reading and writing HDF5 (Hierarchical Data Format version 5) files. HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data.

Features:

  • Reading and writing HDF5 files
  • Support for groups and datasets
  • Attributes on groups and datasets
  • Multiple datatypes (integers, floats, strings, compound types)
  • Chunking and compression support
  • Integration with ndarray for efficient array operations
  • Enhanced functionality with compression and parallel I/O (see enhanced module)
  • Extended data type support including complex numbers and boolean types
  • Performance optimizations for large datasets

Re-exports§

pub use enhanced::create_optimal_compression_options;
pub use enhanced::read_hdf5_enhanced;
pub use enhanced::write_hdf5_enhanced;
pub use enhanced::CompressionStats;
pub use enhanced::EnhancedHDF5File;
pub use enhanced::ExtendedDataType;
pub use enhanced::ParallelConfig;

Modules§

enhanced
Enhanced HDF5 functionality with compression and parallel I/O Enhanced HDF5 functionality with compression, parallel I/O, and extended data type support

Structs§

CompressionOptions
HDF5 compression options
Dataset
HDF5 dataset
DatasetOptions
HDF5 dataset creation options
FileStats
File statistics
Group
HDF5 group
HDF5File
HDF5 file handle

Enums§

AttributeValue
Attribute value types
DataArray
Data array storage
FileMode
File access mode
HDF5DataType
HDF5 data type enumeration
StringEncoding
String encoding types

Functions§

create_hdf5_with_structure
Create an HDF5 file with groups and attributes
read_hdf5
Read an HDF5 file and return the root group
write_hdf5
Write data to an HDF5 file