Does anybody know a simple library to read data from HDF files in .NET framework?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When I was working on this problem a while ago, I couldn’t find anything for HDF4 for .NET. (Which I suppose makes sense since the HDF4 isn’t really supported any more and HDF4 was first created around 1995.)
What I ended up doing was rolling my own library to do very specific commands to communicate the HDF files. Much of it isn’t worth sharing, but the following might help with the P/Invoke signatures (not all of them may have been tested, etc.).
So from this, you could create objects for the File, DataSets, Dimensions, Attributes, etc. For the file, here’s a snippet: