|
|
||
|
FEP - Format Use by a Researcher - Eduardo Santiago - HDF |
|
|
|
||
| Comment on this template in the HyperNews Discussion. |
1. Format (Format System) IdentificationHDF 4.1r1
2. Original MotivationThe ACE Science Center (ASC) provides our Level 1 data in HDF. I have been tremendously impressed with HDF, especially with ASC's wrapper systems. The HDF format is space-efficient and fast to read. Using ASC's hdfgen tools, time to develop routines for reading/writing HDF files is measured in minutes.
3. Data TypesProcessing Level: Level 1 and higher Object Types: Time Series, Multidimensional.
4. SupportOur use of HDF is essentially split into two: the NCSA libraries, and the ASC wrappers. Plain HDF (from NCSA) is nasty. The developers went for flexibility, at the cost of usability... jumping in to writing HDF code is intimidating and painful. This is not an indictment on their efforts: I believe they did the right thing. The flexibility of HDF allows serious developers to use the format and provide simple, clean abstraction layers of their own. Fortunately for those of us who care only about reading and writing simple time series, the ASC folks have developed a magnificent front end to HDF, providing a simple open/read/write/close interface that deals with C data structures. With the ASC code, using HDF is a pleasure. If I had to use HDF without the ASC tools, I would be forced to reinvent them... which would require learning a lot more about HDF than I really care to know.
5. SoftwareI wrote some simple IDL functions for automatically reading any existing hdfgen-written HDF file. One single user-visible function, READ_ASC_HDF(), will return a properly formatted array of data structures containing the contents of the desired file. This makes it trivial for researchers to read data files, without knowing anything at all about the underlying HDF format.
6. EnvironmentUNIX-only (Linux, Solaris) with GNU tools.
7. UsageWe use HDF all over the place. We process Level 1, and save the results in HDF format. All our plotting and analysis code read the results from these HDFs. Furthermore, we have used the ASC hdfgen.pl code to generate HDF templates for various other missions (SWOOPS, LENA-P), in order to store their datasets in HDF format.
8. Experience>Relative to its ability to carry and manage research-needed metadata One HDF file can contain multiple not-necessarily-associated datasets. It is thus possible, and easy, to archive some metadata along with principal data. Sometimes this isn't appropriate, though... in particular, calibration factors and pointing solutions often have to be recomputed for the whole mission. It is just as easy -- not to mention wiser -- to save such metadata in separately-distributed HDF files. >Relative to its related software I can only compare to CDF, ASCII, and raw binary. That said:
9. Desired FunctionalityAs Andrew said, it would be nice to have CDF-like mechanisms for describing individual dataset elements. A good 2-page "Introduction to HDF" would have helped me when learning it. I still don't have a good mental overview of the library, but perhaps that's my own obtuseness.
10. Selection Criteria
11. Impact on ResearchLearning a new format is always painful. Sometimes it is worth the effort. HDF certainly was: a small investment in time resulted in huge productivity gains on several projects. Some formats are a living nightmare. Raw binary, for instance, is unpleasantly common, and always nasty to deal with. It pales in comparison with UDF, though.
12. Other CommentsNo, I'm not really a researcher... I'm a software factotum who provides tools to the real science types, so they can read and analyze data with a one-minute-or-less learning investment. By your classification, though, I didn't seem to fit under "Tool Developer".
|
|
|
Comment on this template in the
HyperNews Discussion.
|
||
|
|
||
Wider ViewsFormats Evolution Process (FEP) Discussion Forums PageFormats Evolution Process (FEP) Home Page NASA/Science Office of Standards and Technology (NOST) Home Page
|
||
|
|
||
|
URL: http://ssdoo.gsfc.nasa.gov/nost/fep/researcher-santiago-hdf.html
A service of
NOST at
NSSDC.
Author: Eduardo Santiago / Los Alamos National Laboratory / ACE/SWEPAM, Ulysses/SWOOPS, LENA-P (esm@lanl.gov) +1 505/665-3130
|
||
|
|
||