Skip to content

mojo-hdf5

mojo-hdf5 is an HDF5, NetCDF, and ADIOS2 BP5 library written in Mojo. The runtime and the code generator are Mojo. They do not wrap libhdf5, libnetcdf, or libadios2.

  • Why HDF5


    What a group, a dataset, and a dataspace are, and how NetCDF and BP5 sit on top of the same idea.

    Read Why HDF5

  • Instructions


    Install Mojo 1.1.0 with pixi, write a dataset, generate a struct, and run the tests.

    Open Instructions

  • Examples


    Encode a float64 dataset, a classic NetCDF file, and one BP5 step.

    See Examples

  • Techniques


    Superblock version 0, chunked layout, stored-block deflate, and the BP5 metadata gap.

    Read Techniques

  • Test data


    The records under testdata/ and what the oracles are asked to read.

    Open Test data