JuliaIO / HDF5.jl

Save and load data in the HDF5 file format from Julia
https://juliaio.github.io/HDF5.jl
MIT License
386 stars 140 forks source link

Document how to store multidim matrices/volumes in row major format #1163

Open psteinb opened 1 month ago

psteinb commented 1 month ago

Hi, first off, thanks for providing such a high quality implementation of HDF5 with julia. I am working on a project where we need to store a 3D matrix in a .h5 file in such a fashion, that it can be consumed by python libraries. The HDF5.jl documentation currently only describes how to read nD "arrays" that have been stored in row major. I currently require the reverse and hence would appreciate a comment on this in the docs as I perceive myself as a julia beginner. Thanks.

psteinb commented 1 month ago

See also https://github.com/JuliaIO/HDF5.jl/blob/master/docs/src/index.md at the very bottom.