Hello, I have an entry in my .h5 file which needs to be changed from 0 to 2016412.575886099 , but somehow that doesn’t work, only integers work, and writing via Python code also doesn’t work…
Possibly the HDF5 dataset has a integer datatype. You need to create a dataset with
float | double | long double datatype, then copy the original dataset over, and now you can make the desired cell update with
Follow this tutorial to learn more on datatypes.
How can I do this? Nothing I found on the web worked for me. I now created the h5 file again (with some other weird problems on the way which magically disappeared when restarting the Notebook), but it would be still nice to know …
Did you try reading the platform specific documentation?
I use Python. But the explanations in the documentation didn’t help me. When I tried to create groups or datasets, it either had no effect or got me an error message saying that such a group already exists. (Although, when viewed in HDF Viewer, nothing could be seen.)
Here is a SO article on how to build a minimum working example that demonstrates the issue. You should upload your MWE to some public place: github, etc, or attach the gzip here to attract audience.
The only way to confirm a problem is by running the MWE or Self Short Contained Correct Example.
True. The problem is that somehow things work now, after I restarted the kernel… if it happens again I will post a simple example!