I’m using h5py to record and update data, especially 3D arrays built using Numpy; I’m facing 2 “troubles”:
- 3D arrays
- Under numpy, a 3D array has the following structure (d, r, c) where d,r,c are respectivly the depth, rows and columns
- when opening the array using Hdfview (under Windows in my case), the structure is different that’s not usefull, I mean I would like to visualize a 2D array per depth.
- let me saying there’s no issue when retrieving the array to work with: the structure is correct (just a question of “visualization” accordingly)
Is there an option to keep the original Numpy structure (d, r, c) into Hdfview ? I 've been looking for such information’but I’ve not found anything so far
- updating a dataset
When I want to update a dataset, the only way I’ve found is to first delete it, and write a new one using the update array (in practise, it’s time consuming): my question might be naive, but is there another (better) way?
Thanks for any suggestion