-
Notifications
You must be signed in to change notification settings - Fork 0
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
rhdf5 #207
Comments
Exploring rhdf5 as a possible solution to finding timestamps in .h5 files
|
Comparing h5read and h5ls commands:
h5ls:
h5read:
|
h5read redirects through its arguments to h5Dread, which reads a partial dataset from an HGF5 file. Could this help with the error above? h5Dread:
@juliabruneau - good information/hunting. Perhaps this is due to a partial set? Though, I think that the memory error comes from an unspecific query. For example, if I keep knocking things off the end of the h5read path like so I get more and more warnings, presumably as the data retrieved gets larger, I just think maybe this error could mean there is too much data?:
Terminal Code 1: Output of
|
Hey all - see below which is excerpted from the test cases that we worked on yesterday (see also #211). This one gets us data that we want and gives clues as to where to look for other data (hint: maybe not TIMESERIES)
|
HDFView 3.1.4We can explore the .h5 files with an application called HDFView . It is used to specifically open .hdf5/.h5 files, and it provides a directory to look into the different groups and attributes within the .h5 file. The only "limitation" is that you have to register to this website in order to download the application, but it only asks for your email and what organization you're apart of (academic research). This is the process to access the files in HDFView:
This Viewer provides more understanding on the contents of a hdf5 file, and it can hopefully help understand how we can extract the timestamp using R. Maybe we can utilize the Viewer's function to extract .txt files? Update: Can save table as a .txt file to computer. Working on putting into R. |
Using H5Dread to get 64-bit timestamps:
Don't forget to close the open data objects, both the file and dataset, when finished
Note: We found that this table's last timestamp is 1984-09-02 02:00:00 |
Attempting to View Output .h5 Files in the HDFView Program:
What Now?
|
Still be useful since if we simply want to use it to help us understand structure better, we only really need to have one H5 file for Rivers, and another H5 file for land as a template. That is because each land H5 file will share an identical structures to each other land H5 file. Similarly the same will apply for river h5s. I like that you tried scp, and seems like you got close. We can find a more efficient solution tomorrow. |
Overview
hdf5
is a file-based database used in scientific applications, including hsp2.Installation
The text was updated successfully, but these errors were encountered: