aldanor / hdf5-rust

HDF5 for Rust
https://docs.rs/hdf5
Apache License 2.0
310 stars 84 forks source link

How to write/read ndarray? #298

Closed DenTyur closed 2 months ago

DenTyur commented 2 months ago

Hi there!

I am trying to write (or read) a 3D ndarray into an hdf5 file, but all my attempts fail. I would be immensely grateful if someone would give me an example of how to do this!

mulimoen commented 2 months ago

There is an example here you could extend for your case: https://github.com/aldanor/hdf5-rust/blob/master/hdf5/examples/chunking.rs

DenTyur commented 2 months ago

Thanks a lot