-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to read a single value or a specific range? #258
Comments
Hi. This is good place to ask. I can add partial read but I don't understand the current dataset structure. Could you add example file (small one) and give example of slice data you would like to read? I can work on this with good datase for testing. |
HRS_ITA_1KM_LEAFWET_HOURLY_CREATED.zip This is an example file. The real one has these dimensions: It would be super useful in terms of memory to read only 1 timespan for each cycle, in that case i would get only 1281*1729 floats everytime, without being worry about the size of the array. |
Thanks. I'll work on the next week |
@Simone98 btw if you only need read of hdf5 I high recommend https://github.com/Apollo3zehn/HDF5.NET library as it has pure .net implementation and it seems to support partial read per the readmd |
Thank you for the suggestion @LiorBanai. After hours spent on the various docs I successfully read the files without loading all of it at once. Thank you for the help, I solved my problem with the Apollo3zehn solution. |
Glad to know it helped you. I do planned to add that ability also to my library later on but it is good you are not blocked on this |
Hi, I'm opening a hdf5 of 40gb, and I'm trying to get some data without opening all the dataset.


I have this:
And with them i can read data from a 3 dimensional array.
Storing all the dataset in an array and then cicling it is impossible, because it's way too much for the array maximum limit.
Is there a way to get only the wanted values using three indexes?
Sorry if I used the wrong place to ask.
The text was updated successfully, but these errors were encountered: