Download presentation
Presentation is loading. Please wait.
Published byJamal Burrowes Modified over 10 years ago
1
www.hdfgroup.org The HDF Group Ensuring Long Term Access to Remotely Sensed HDF4 Data with Layout Maps Ruth Duerr, NSIDC Christopher Lynnes, GES DISC Mike Folk, Kent Yang, Peter Cao, The HDF Group November 3-5, 20091HDF/HDF-EOS Workshop XIII
2
www.hdfgroup.org HDF4 files are complex November 3-5, 2009HDF/HDF-EOS Workshop XIII2
3
www.hdfgroup.org November 3-5, 2009HDF/HDF-EOS Workshop XIII3 How do we save HDF users from having to deal with all of the complexity under the hood?
4
www.hdfgroup.org November 3-5, 2009HDF/HDF-EOS Workshop XIII4 Through the HDF software libraries, either by using the HDF APIs directly or by using HDF tools that depend on the HDF libraries. But what about the future…
5
www.hdfgroup.org November 3-5, 2009HDF/HDF-EOS Workshop XIII5 There is a risk in depending solely on HDF libraries to access HDF- formatted data over the long term. It is possible, especially in the distant future, that the libraries may not be available.
6
www.hdfgroup.org November 3-5, 2009HDF/HDF-EOS Workshop XIII6 read HDF data with an independent program that does not rely on the HDF API… If only we could read HDF data with an independent program that does not rely on the HDF API… A possible approach [would be to create] a map of a data file, [and] utilities to find, assemble and write out SDSes and vdatas. Leveraging HDF Utilities Christopher Lynnes HDF Workshop X.
7
www.hdfgroup.org Users view of the HDF4 SD model November 3-5, 2009HDF/HDF-EOS Workshop XIII7
8
www.hdfgroup.org Mapping SDS to file offset/length November 3-5, 2009HDF/HDF-EOS Workshop XIII8 HDF4 file layout
9
www.hdfgroup.org Mapping with chunks November 3-5, 2009HDF/HDF-EOS Workshop XIII9 HDF4 file layout
10
www.hdfgroup.org Recap Problem The complex byte layout of HDF files makes long-term readability of HDF data dependent on long-term availability HDF software. Solution Create a map of the layout of data objects in an HDF file, allowing a simple reader to be written to access the data. November 3-5, 200910HDF/HDF-EOS Workshop XIII
11
www.hdfgroup.org The HDF Group The project – phase 1 2007-2008 November 3-5, 2009HDF/HDF-EOS Workshop XIII11
12
www.hdfgroup.org HDF4 mapping project activities 1.Assess and categorize HDF4 data held by NASA Determine what types of objects to map. Get an idea of the magnitude of the project. 2.Develop prototype for proof of concept Develop markup-language based layout specification. Develop tool to produce layout for an HDF4 file. Develop and test two independent tools to read HDF4 data based solely on the map files November 3-5, 200912HDF/HDF-EOS Workshop XIII
13
www.hdfgroup.org HDF/HDF-EOS Workshop XIII How many HDF4 products? Data CenterHDF4 Products ASF0 GES-DISC236 GHRC54 ASDC63 LP-DAAC67 NSIDC47 ORNL-DAAC2 PO.DAAC22 SDAC0 MrDC95 Total586 November 3-5, 200913
14
www.hdfgroup.org HDF/HDF-EOS Workshop XIII Data characteristics Product Identification Product Name Data Level Archive Location Product Version Whether the product was multi-file For HDF-EOS products HDF-EOS version For point data Number of point data sets Maximum number of levels For swath data Number of swaths Maximum number of dimensions Organized by time, space, both, or other Whether dimension maps were used For gridded data Number of grids Max number of dimensions in a grid Number of projections used Whether any grids were indexed HDF Version For raster data Number of 8-bit rasters Number of 24-bit rasters Number of general rasters Whether any rasters had attributes Whether any rasters were compressed Whether any rasters were chunked Whether there were any palettes For SDS data Number of SDSs Maximum number of dimensions Did any SDS have attributes Was any SDS annotated Were dimension scales used Was compression used and if so what kind Was chunking used For Vdata Number of Vdata structures Did any Vdata have attributes Did any Vdata fields have attributes Was compression used and if so what kind Was chunking used Product Characteristics Examined November 3-5, 200914
15
www.hdfgroup.org HDF4 mapping prototype workflow November 3-5, 2009HDF/HDF-EOS Workshop XIII15 HDF4 File H4.hdf HDF4 File H4.hdf HDF4 Mapping File (XML document) H4.hdf.map.xml HDF4 Mapping File (XML document) H4.hdf.map.xml hmap linked with HDF4 library hmap linked with HDF4 library Reader 1 (C program) Object Data Groups, Data Objects, Structural and Application Metadata; Locations of Object Data Reader 2 (Perl Script) Reader 2 (Perl Script)
16
www.hdfgroup.org The HDF Group Phase 2: 2009-2011 Productizing HDF4 Mapping schema and tools for deployment November 3-5, 2009HDF/HDF-EOS Workshop XIII16
17
www.hdfgroup.org Phase 2 tasks Revise schema Investigate integration of mapping schema with existing standards Analyze whats needed to include HDF-EOS 2 Revise the XML schema Implement production quality HDF4 map writer Develop demo HDF4 map reader Deploy Optional tasks Implement general purpose reader Develop validation utilities November 3-5, 200917HDF/HDF-EOS Workshop XIII
18
www.hdfgroup.org How you can help Project page at The HDF Group website: http://www.hdfgroup.org/projects/hdf4mapping/ Consider what it might take to implement this for your archive - contact us if youd like support Let us know if you are interested in participating in any capacity. November 3-5, 200918HDF/HDF-EOS Workshop XIII
19
www.hdfgroup.org The HDF Group Thank You! November 3-5, 2009HDF/HDF-EOS Workshop XIII19
20
www.hdfgroup.org Acknowledgements This work was supported by cooperative agreement number NNX08AO77A from the National Aeronautics and Space Administration (NASA). Any opinions, findings, conclusions, or recommendations expressed in this material are those of the author[s] and do not necessarily reflect the views of the National Aeronautics and Space Administration. November 3-5, 2009HDF/HDF-EOS Workshop XIII20
21
www.hdfgroup.org The HDF Group Questions/comments? November 3-5, 2009HDF/HDF-EOS Workshop XIII21
22
www.hdfgroup.org Example map fragment 0 255 10 100 2502 4000 November 3-5, 200922HDF/HDF-EOS Workshop XIII
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.