QuestionsCan I effectively use HDF5 with rusty math skills?

  • Thread starter Thread starter Borg
  • Start date Start date
  • Tags Tags
    database
Click For Summary

Discussion Overview

The discussion revolves around the use of Hierarchical Data Format (HDF5) and its applicability for individuals with limited mathematical skills. Participants share their experiences and seek advice on getting started with HDF5, including comparisons to other data storage schemes and the mathematical requirements for effective use.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses concern about their rusty math skills and questions whether they can effectively use HDF5 given their background in databases and limited mathematical knowledge.
  • Another participant suggests that HDF5 is primarily a file format that allows for database-like functionality across multiple files, indicating that only basic algebra may be necessary.
  • Some participants discuss technical issues related to using HDF5 on Windows, including path and library dependency problems, and express frustration with broken links to resources.
  • There are mentions of using netCDF, which is based on HDF5, as a simpler alternative for scientific data storage.
  • Participants share links to resources and FAQs related to HDF5, although some express difficulty accessing certain pages or finding relevant information.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the mathematical requirements for using HDF5, with some suggesting minimal math is needed while others imply that more advanced skills may be beneficial. Technical challenges related to platform compatibility and resource accessibility are also noted, but no agreement is reached on solutions.

Contextual Notes

Participants mention limitations in accessing certain online resources and express uncertainty about the current status of some links related to HDF5 documentation.

Who May Find This Useful

This discussion may be useful for individuals interested in data storage solutions, particularly those considering HDF5 or netCDF, and for those with concerns about the mathematical skills required for effective use of these formats.

Borg
Science Advisor
Gold Member
Messages
2,356
Reaction score
5,132
Though one of my many internet searches, I ran across Hierarchical Data Formats (HDF) last year. It seems interesting but I feel like I'm in over my head a bit. I believe that some people here have use it and I'm looking for advice on getting started, what to watch for and how it's different from other data storage schemes.

My background with databases includes work with various relational databases like Oracle, Sybase, MySQL, etc. For the last year, I've been introduced to the world of NoSQL using MongoDB so it is possible for me to learn new tricks.

One of my concerns is that my math skills are very rusty. I have occasionally restudied calculus up to the chain rule and I have written programs using spherical coordinates. Getting back to any ability with PDEs or statistics will take a while. This makes me wonder if I would be able to actually make use of HDF.

Thanks in advance.
 
Technology news on Phys.org
jedishrfu said:
Here a starting point

http://en.m.wikipedia.org/wiki/Hierarchical_Data_Format

I've used netcDF file format which is based on hdf5 and which used commonly for scientific data and isn't to difficult to master.
Thanks jedishrfu. I have read the Wiki site, started reading the 350+ page users manual and have been reviewing a tutorial using the java api. I've got a minor classpath problem right now but I'm sure that I'll fix it soon. In the short term, I would like to use it to analyze stock data but, my main concern is how much math will I need in order to make good use of it? Where does the real strength of HDF5 lie mathematically?
 
It's just a file format that makes a database across multiple files. There s no math beyond algebra if even that.

Are you trying to read hdf5 or store data in it?

I'd use a regular database like h2 if you're creating it.
 
So, is it nothing more than just another database scheme that happens to be capable of reading data faster?

I'm looking at one of the example programs called H5Ex_D_Chunk.java. It looks like a simple test to write data and then read it back out. I had a path issue that went away when I added the HDF lib directory to my path Unfortunately, I'm still getting the following error:
jhdf5.dll: Can't find dependent libraries

I've set both my path and classpath to the HDF lib directory but, I'm not getting around the error. I'm trying to do this on a Windows machine and it seems that HDF really prefers to be in a Unix environment.
 
Your answer may be among the many FAQ questions answered here

http://www.hdfgroup.org/hdf5-quest.html

More specifically here if macosx or linux

http://www.hdfgroup.org/hdf5-quest.html#jlink

An interesting answer to why use hdf5

http://www.hdfgroup.org/HDF5/faq/whyhdf5.html#dirstruct

And the best I can do for windows based hdf5

http://www.hdfgroup.org/ftp/HDF5/releases/HDF-JAVA/HDF-JAVA-2.3/src/build_src_windows.html

I've not used hdf5 directly but have been researching it recently. I have used netcdf in Java for some array data where I had to create a 2D array and two 1D arrays for the x and y axes of the 2D array so for a give. Data point would be x(3) y(4) data(3)(4).
 
Last edited by a moderator:
  • Like
Likes   Reactions: Borg
Thanks again jedishrfu. I will definitely take a look at the links. The one thing that I keep noticing though is that a lot of reference links in those pages link to pages of this form: http://hdf.ncsa.uiuc.edu/ ...
Whenever I click on them, my internet provider displays a page that the site can't be found. If I take out the hdf part, I get to the Univ. of Illinois but searches there don't find much w.r.t. hdf. Either the server doesn't exist anymore, it's been moved, or the links are for an internal network. I may have to create an account on an HDF forum.
 
Last edited by a moderator:
Yeah I see that on this page too:

http://www.ncsa.illinois.edu/People/mcgrath/docs.html

I guess that's when you use Google to find the documents of interest or contact the author of the above page and see where they are now.

I tried searching for a couple of those listed notably: Applications Using NCSA HDF Files but with no luck.
 
Good to know that it's not just me. :oldsmile:

Just curious - what OS did you use with the Java API?
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
127
Views
23K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K