SlideShare una empresa de Scribd logo
1 de 25
Descargar para leer sin conexión
Transitioning from HDF4 to
HDF5
Robert E. McGrath (mcgrath@ncsa.uiuc.edu)
Kent Yang (ymuqun@ncsa.uiuc.edu)
NCSA
University of Illinois, Urbana-Champaign
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

1

HDF
Important Note
•

Both HDF4 and HDF5 are supported by the NCSA
HDF group.

•

We will continue to maintain HDF4, as long as we
are funded to do so.

•

We recommend using HDF5, and that you consider
migrating from HDF4 to HDF5 to take advantage of
the improved features and performance of HDF5.

See: http://hdf.ncsa.uiuc.edu/h4-h5.html
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

2

HDF
Main Points
The transition from HDF4 to HDF5 will
require effort.
NCSA is working to assure that the transition is
as smooth as possible

Two main points in this talk:
•
•

Key technical challenges – 3 basic
necessities
Recent NCSA activities – building tools to
meet these needs
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

3

HDF
I. Key Technical Challenges
The transition to HDF5 involves several technical
challenges:
•
•
•

Support both HDF4 and HDF5 (and HDF-EOS w/4
and HDF-EOS w/5)
Interoperate HDF4 and HDF5 files and libraries
Convert data from HDF4 to HDF5

We are working to provide tools and advice to make
this as easy as possible.
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

4

HDF
1. Supporting both HDF4 and HDF5
• Will need to support two file formats,
libraries, documentation, etc. for many
years.
– NCSA is committed to support both HDF4 and
HDF5 as long as NASA needs them.

• Training and documentation, etc.
• Tools, etc. need multiple readers, writers
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

5

HDF
2. Interoperate HDF4 and HDF5
• Many environments will use older HDF4
and newer HDF5 together (e.g., data from
Terra and Aqua)
– This requires two reader/writers, one for HDF4
and one for HDF5.
– Configuration is more complex
• complex configure/make
• potentially, very large binaries
• For HDF-EOS: four+ libraries
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

6

HDF
2. Interoperate HDF4 and HDF5
• Given software that uses HDFEOS4, it is
usually not difficult to add HDFEOS5
• Many systems already support netCDF,
GEOTiff, etc., supporting two versions of
HDF-EOS is similar.
• The ‘heconvert’ utility uses both HDFEOS4
and HDFEOS5.
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

7

HDF
3. Convert data from HDF4 to HDF5
• In some cases, may want to convert data
from HDF4 to HDF5 to work with new
software:
– on-demand, as needed
– wholesale, e.g., whole collections

Our experiments show this is quite feasible.
(See below.)
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

8

HDF
3. Convert data from HDF4 to HDF5
• In many cases, will want a custom conversion,
e.g., per data product
– to capture specific semantics, e.g., relationships
– to optimize the use of HDF5
– to optimize the conversion, e.g., handle large objects,
deal with missing values or compression, etc.

The NCSA libh4toh5 provides a toolkit to help build
conversion utilities. (See below.)
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

9

HDF
II. Recent NCSA Activities
•
•

NCSA has been establishing a toolkit to support
transition
Tools for Default Conversion of HDF4 to HDF5
– Specification of default mappings
– h4toh5 utility – convert whole file to HDF5
– libh4toh5 – C library to convert individual objects

See: http://hdf.ncsa.uiuc.edu/h4-h5.html
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

10

HDF
Default Mapping
• Specification of default mapping of HDF4
and HDF5 concepts and objects
– Conceptual guidance for developers
– Standards to help interoperability
– A general purpose solution, should be
customized for particular uses
http://hdf.ncsa.uiuc.edu/HDF5/doc/ADGuide/H4toH5Mapping.pdf
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

11

HDF
Data Conversion Software
• h4toh5 utility – conversion of 1 HDF4 file to
HDF5
– Implements the mapping specification
– Model for customized conversion utilities

• Libh4toh5 – Library of conversions for single
objects, groups of objects
– Same mapping and algorithms as h4toh5 utility
– Helps construction of custom conversions

For more info ant to obtain: http://hdf.ncsa.uiuc.edu/h4toh5
Feedback on these is requested!
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

12

HDF
Two Experiments
• Two Experiments testing conversion of HDF4 to
HDF5 data
– Used sample NASA datasets

• Experiment 1: Covert whole files with h4toh5
utility
– Default conversion of standard HDF
– Didn’t convert HDF-EOS objects

• Experiment 2: convert hybrid HDF-EOS files with
heconvert plus libh4toh5
– Convert HDF-EOS objects and other HDF objects
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

13

HDF
Conclusions
• Conversion from HDF4 to HDF5 is feasible, even
for whole collections
– Could be done on demand, or whole archives could be
converted

• Custom product-specific conversion utilities are
feasible
– This is not particularly difficult
– Demonstrates the effective use of HDFEOS4 and
HDFEOS5 together
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

14

HDF
Experiment 1: conversion of
NASA datasets to HDF5
• Tested with HDF4 files from NASA
– Files from DIAL, DAACs

• All files converted successfully
• Conversion was fast
http://hdf.ncsa.uiuc.edu/h4toh5/Experiment/h4toh5exp.html

University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

15

HDF
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

16

HDF
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

17

HDF
Conclusions
• For many NASA collections, conversion is
feasible and fast
– Could be done on demand, or whole archives
could be converted

University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

18

HDF
Caveats
• Not a representative sample of NASA data
• This is a default conversion: e.g., the result is not
a valid HDF-EOS5 file
– custom conversion would be desirable

• Files with very large individual objects performed
much worse
– newer products have this characteristic
– conversion utility needs better memory management

University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

19

HDF
Experiment 2: ‘Hybrid’ HDF-EOS
files
• heconvert – utility that converts HDF-EOS4 to
HDF-EOS5
– Converts the HDF-EOS objects:
• Grid, Swath, Point
• StructMetadata.0

• Real EOS data are hybrids: they have other HDF4
objects
– Vdata tables, SDS arrays
– ProductMetadata.0, etc.

• These objects are omitted by heconvert
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

20

HDF
‘Hybrid’ HDF-EOS files
• Discussed this last year: almost all HDF-EOS
files have standard HDF objects as well as HDFEOS object. See previous talk (Workshop IV):
http://hdf.ncsa.uiuc.edu/h4toh5/ESDIS-sep/mcgrath-transitionissues/index.htm

• Key issues
–
–
–
–

Can convert the EOS objects
libh4toh5 can convert other objects individually
But is not trivial to find the ‘other’ objects
Probably requires custom conversion per data product
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

21

HDF
Experiment: ‘Hybrid’ HDF-EOS files
• Method: added calls to libh4toh5
– Same conversion of EOS objects
– Finds and converts (at least some) of the nonEOS objects
• all Vdatas, annotations, images, ‘lone’ SDSs

• Data: files from the HDF-EOS Sampler CD
– These files all have non-EOS objects
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

22

HDF
Results and Observations
• Results: libh4toh5 is a useful toolkit for
constructing conversion tools
– In most cases, all the objects are copied to the HDF5
file
– Negligible overhead

• This is a ‘default’ conversion
– Probably not the desired layout of the HDF5
– Would want to use non-default options to libh4toh5, or
possibly write custom
http://hdf.ncsa.uiuc.edu/h4toh5/Experiment2/heconvert.html
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

23

HDF
Summary
• HDFEOS4 and HDFEOS5 can be used in the
same program
– Can use existing and future data together

• Conversion of HDF4 to HDF5 is feasible
– Conversion could be ‘on demand’ or for whole
collections

• When conversion is desired, will likely want
product-specific conversion
– This is not particularly difficult
– NCSA’s libh4toh5 provides a good initial toolkit
University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

24

HDF
URLs
• NCSA information page:
http://hdf.ncsa.uiuc.edu/h4-h5/

• Conversion Utility Experiment
http://hdf.ncsa.uiuc.edu/h4toh5/Experiment/h4toh5exp.html

• HE Conversion Experiment
http://hdf.ncsa.uiuc.edu/h4toh5/Experiment2/heconvert.html

University of Illinois at Urbana-Champaign

McGrath/Yang 2/27/02

25

HDF

Más contenido relacionado

La actualidad más candente

Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...
Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...
Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...Repository Fringe
 
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 productsInteroperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 productsThe HDF-EOS Tools and Information Center
 

La actualidad más candente (18)

HDF Cloud Services
HDF Cloud ServicesHDF Cloud Services
HDF Cloud Services
 
HDF Update
HDF UpdateHDF Update
HDF Update
 
The HDF Group: Community models and outreach
The HDF Group: Community models and outreachThe HDF Group: Community models and outreach
The HDF Group: Community models and outreach
 
HDF Project Update
HDF Project UpdateHDF Project Update
HDF Project Update
 
Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...
Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...
Alan Cope (De Montfort University) – EXPLORER (create workflows and processes...
 
Migrating from HDF5 1.6 to 1.8
Migrating from HDF5 1.6 to 1.8Migrating from HDF5 1.6 to 1.8
Migrating from HDF5 1.6 to 1.8
 
HDF Product Designer
HDF Product DesignerHDF Product Designer
HDF Product Designer
 
Introduction to HDF5
Introduction to HDF5Introduction to HDF5
Introduction to HDF5
 
HDF & HDF-EOS Data & Support at NSIDC
HDF & HDF-EOS Data & Support at NSIDCHDF & HDF-EOS Data & Support at NSIDC
HDF & HDF-EOS Data & Support at NSIDC
 
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 productsInteroperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
 
HDF Update
HDF UpdateHDF Update
HDF Update
 
HDF and netCDF Data Support in ArcGIS
HDF and netCDF Data Support in ArcGISHDF and netCDF Data Support in ArcGIS
HDF and netCDF Data Support in ArcGIS
 
Adding new servicees for HDF in THREDDS Data Server (TDS)
Adding new servicees for HDF in THREDDS Data Server (TDS)Adding new servicees for HDF in THREDDS Data Server (TDS)
Adding new servicees for HDF in THREDDS Data Server (TDS)
 
HDF Update
HDF UpdateHDF Update
HDF Update
 
Introduction to HDF5
Introduction to HDF5Introduction to HDF5
Introduction to HDF5
 
HDF Project Update
HDF Project UpdateHDF Project Update
HDF Project Update
 
Images of HDF5
Images of HDF5Images of HDF5
Images of HDF5
 
Data Interoperability
Data InteroperabilityData Interoperability
Data Interoperability
 

Destacado (6)

HDF and HDF-EOS Experiences and Applications
HDF and HDF-EOS Experiences and ApplicationsHDF and HDF-EOS Experiences and Applications
HDF and HDF-EOS Experiences and Applications
 
The LEISA Atmospheric Corrector (LAC) on Earth Observer 1 (EO1)
The LEISA Atmospheric Corrector (LAC) on Earth Observer 1 (EO1)The LEISA Atmospheric Corrector (LAC) on Earth Observer 1 (EO1)
The LEISA Atmospheric Corrector (LAC) on Earth Observer 1 (EO1)
 
Welcome to HDF Workshop V
Welcome to HDF Workshop VWelcome to HDF Workshop V
Welcome to HDF Workshop V
 
HDF-EOS Aura File Format Guidelines
HDF-EOS Aura File Format GuidelinesHDF-EOS Aura File Format Guidelines
HDF-EOS Aura File Format Guidelines
 
Subsetting
SubsettingSubsetting
Subsetting
 
Workshop Discussion: HDF & HDF-EOS Future Direction
Workshop Discussion: HDF & HDF-EOS Future DirectionWorkshop Discussion: HDF & HDF-EOS Future Direction
Workshop Discussion: HDF & HDF-EOS Future Direction
 

Similar a Transitioning from HDF4 to HDF5

Hdf5 parallel
Hdf5 parallelHdf5 parallel
Hdf5 parallelmfolk
 
Hdf5 current future
Hdf5 current futureHdf5 current future
Hdf5 current futuremfolk
 
Improving long-term preservation of EOS data by independently mapping HDF4 da...
Improving long-term preservation of EOS data by independently mapping HDF4 da...Improving long-term preservation of EOS data by independently mapping HDF4 da...
Improving long-term preservation of EOS data by independently mapping HDF4 da...The HDF-EOS Tools and Information Center
 

Similar a Transitioning from HDF4 to HDF5 (20)

Transition from HDF4 to HDF5
Transition from HDF4 to HDF5 Transition from HDF4 to HDF5
Transition from HDF4 to HDF5
 
Converting between HDF4 and HDF5
Converting between HDF4 and HDF5Converting between HDF4 and HDF5
Converting between HDF4 and HDF5
 
HDF Updae
HDF UpdaeHDF Updae
HDF Updae
 
Hdf5 parallel
Hdf5 parallelHdf5 parallel
Hdf5 parallel
 
HDF Product Designer
HDF Product DesignerHDF Product Designer
HDF Product Designer
 
HDF Update for DAAC Managers (2017-02-27)
HDF Update for DAAC Managers (2017-02-27)HDF Update for DAAC Managers (2017-02-27)
HDF Update for DAAC Managers (2017-02-27)
 
Parallel HDF5 Developments
Parallel HDF5 DevelopmentsParallel HDF5 Developments
Parallel HDF5 Developments
 
HDF Update
HDF UpdateHDF Update
HDF Update
 
Hdf5 current future
Hdf5 current futureHdf5 current future
Hdf5 current future
 
HDF Group Support for NPP/NPOESS/JPSS
HDF Group Support for NPP/NPOESS/JPSSHDF Group Support for NPP/NPOESS/JPSS
HDF Group Support for NPP/NPOESS/JPSS
 
Moving form HDF4 to HDF5/netCDF-4
Moving form HDF4 to HDF5/netCDF-4Moving form HDF4 to HDF5/netCDF-4
Moving form HDF4 to HDF5/netCDF-4
 
HDF OPeNDAP project update and demo
HDF OPeNDAP project update and demoHDF OPeNDAP project update and demo
HDF OPeNDAP project update and demo
 
Improving long-term preservation of EOS data by independently mapping HDF4 da...
Improving long-term preservation of EOS data by independently mapping HDF4 da...Improving long-term preservation of EOS data by independently mapping HDF4 da...
Improving long-term preservation of EOS data by independently mapping HDF4 da...
 
Ensuring Long Term Access to Remotely Sensed HDF4 Data with Layout Maps
Ensuring Long Term Access to Remotely Sensed HDF4 Data with Layout MapsEnsuring Long Term Access to Remotely Sensed HDF4 Data with Layout Maps
Ensuring Long Term Access to Remotely Sensed HDF4 Data with Layout Maps
 
HDF OPeNDAP update
HDF OPeNDAP updateHDF OPeNDAP update
HDF OPeNDAP update
 
HDF-EOS Workshop IV
HDF-EOS Workshop IVHDF-EOS Workshop IV
HDF-EOS Workshop IV
 
Introduction to HDF5
Introduction to HDF5Introduction to HDF5
Introduction to HDF5
 
Introduction to HDF5 Data and Programming Models
Introduction to HDF5 Data and Programming ModelsIntroduction to HDF5 Data and Programming Models
Introduction to HDF5 Data and Programming Models
 
HDF-EOS 2/5 to netCDF Converter
HDF-EOS 2/5 to netCDF ConverterHDF-EOS 2/5 to netCDF Converter
HDF-EOS 2/5 to netCDF Converter
 
HDF and Augmentation
HDF and Augmentation HDF and Augmentation
HDF and Augmentation
 

Más de The HDF-EOS Tools and Information Center

STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...The HDF-EOS Tools and Information Center
 

Más de The HDF-EOS Tools and Information Center (20)

Cloud-Optimized HDF5 Files
Cloud-Optimized HDF5 FilesCloud-Optimized HDF5 Files
Cloud-Optimized HDF5 Files
 
Accessing HDF5 data in the cloud with HSDS
Accessing HDF5 data in the cloud with HSDSAccessing HDF5 data in the cloud with HSDS
Accessing HDF5 data in the cloud with HSDS
 
The State of HDF
The State of HDFThe State of HDF
The State of HDF
 
Highly Scalable Data Service (HSDS) Performance Features
Highly Scalable Data Service (HSDS) Performance FeaturesHighly Scalable Data Service (HSDS) Performance Features
Highly Scalable Data Service (HSDS) Performance Features
 
Creating Cloud-Optimized HDF5 Files
Creating Cloud-Optimized HDF5 FilesCreating Cloud-Optimized HDF5 Files
Creating Cloud-Optimized HDF5 Files
 
HDF5 OPeNDAP Handler Updates, and Performance Discussion
HDF5 OPeNDAP Handler Updates, and Performance DiscussionHDF5 OPeNDAP Handler Updates, and Performance Discussion
HDF5 OPeNDAP Handler Updates, and Performance Discussion
 
Hyrax: Serving Data from S3
Hyrax: Serving Data from S3Hyrax: Serving Data from S3
Hyrax: Serving Data from S3
 
Accessing Cloud Data and Services Using EDL, Pydap, MATLAB
Accessing Cloud Data and Services Using EDL, Pydap, MATLABAccessing Cloud Data and Services Using EDL, Pydap, MATLAB
Accessing Cloud Data and Services Using EDL, Pydap, MATLAB
 
HDF - Current status and Future Directions
HDF - Current status and Future DirectionsHDF - Current status and Future Directions
HDF - Current status and Future Directions
 
HDFEOS.org User Analsys, Updates, and Future
HDFEOS.org User Analsys, Updates, and FutureHDFEOS.org User Analsys, Updates, and Future
HDFEOS.org User Analsys, Updates, and Future
 
HDF - Current status and Future Directions
HDF - Current status and Future Directions HDF - Current status and Future Directions
HDF - Current status and Future Directions
 
H5Coro: The Cloud-Optimized Read-Only Library
H5Coro: The Cloud-Optimized Read-Only LibraryH5Coro: The Cloud-Optimized Read-Only Library
H5Coro: The Cloud-Optimized Read-Only Library
 
MATLAB Modernization on HDF5 1.10
MATLAB Modernization on HDF5 1.10MATLAB Modernization on HDF5 1.10
MATLAB Modernization on HDF5 1.10
 
HDF for the Cloud - Serverless HDF
HDF for the Cloud - Serverless HDFHDF for the Cloud - Serverless HDF
HDF for the Cloud - Serverless HDF
 
HDF5 <-> Zarr
HDF5 <-> ZarrHDF5 <-> Zarr
HDF5 <-> Zarr
 
HDF for the Cloud - New HDF Server Features
HDF for the Cloud - New HDF Server FeaturesHDF for the Cloud - New HDF Server Features
HDF for the Cloud - New HDF Server Features
 
Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3
Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3
Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3
 
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
 
HDF5 and Ecosystem: What Is New?
HDF5 and Ecosystem: What Is New?HDF5 and Ecosystem: What Is New?
HDF5 and Ecosystem: What Is New?
 
HDF5 Roadmap 2019-2020
HDF5 Roadmap 2019-2020HDF5 Roadmap 2019-2020
HDF5 Roadmap 2019-2020
 

Último

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 

Último (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Transitioning from HDF4 to HDF5

  • 1. Transitioning from HDF4 to HDF5 Robert E. McGrath (mcgrath@ncsa.uiuc.edu) Kent Yang (ymuqun@ncsa.uiuc.edu) NCSA University of Illinois, Urbana-Champaign University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 1 HDF
  • 2. Important Note • Both HDF4 and HDF5 are supported by the NCSA HDF group. • We will continue to maintain HDF4, as long as we are funded to do so. • We recommend using HDF5, and that you consider migrating from HDF4 to HDF5 to take advantage of the improved features and performance of HDF5. See: http://hdf.ncsa.uiuc.edu/h4-h5.html University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 2 HDF
  • 3. Main Points The transition from HDF4 to HDF5 will require effort. NCSA is working to assure that the transition is as smooth as possible Two main points in this talk: • • Key technical challenges – 3 basic necessities Recent NCSA activities – building tools to meet these needs University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 3 HDF
  • 4. I. Key Technical Challenges The transition to HDF5 involves several technical challenges: • • • Support both HDF4 and HDF5 (and HDF-EOS w/4 and HDF-EOS w/5) Interoperate HDF4 and HDF5 files and libraries Convert data from HDF4 to HDF5 We are working to provide tools and advice to make this as easy as possible. University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 4 HDF
  • 5. 1. Supporting both HDF4 and HDF5 • Will need to support two file formats, libraries, documentation, etc. for many years. – NCSA is committed to support both HDF4 and HDF5 as long as NASA needs them. • Training and documentation, etc. • Tools, etc. need multiple readers, writers University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 5 HDF
  • 6. 2. Interoperate HDF4 and HDF5 • Many environments will use older HDF4 and newer HDF5 together (e.g., data from Terra and Aqua) – This requires two reader/writers, one for HDF4 and one for HDF5. – Configuration is more complex • complex configure/make • potentially, very large binaries • For HDF-EOS: four+ libraries University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 6 HDF
  • 7. 2. Interoperate HDF4 and HDF5 • Given software that uses HDFEOS4, it is usually not difficult to add HDFEOS5 • Many systems already support netCDF, GEOTiff, etc., supporting two versions of HDF-EOS is similar. • The ‘heconvert’ utility uses both HDFEOS4 and HDFEOS5. University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 7 HDF
  • 8. 3. Convert data from HDF4 to HDF5 • In some cases, may want to convert data from HDF4 to HDF5 to work with new software: – on-demand, as needed – wholesale, e.g., whole collections Our experiments show this is quite feasible. (See below.) University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 8 HDF
  • 9. 3. Convert data from HDF4 to HDF5 • In many cases, will want a custom conversion, e.g., per data product – to capture specific semantics, e.g., relationships – to optimize the use of HDF5 – to optimize the conversion, e.g., handle large objects, deal with missing values or compression, etc. The NCSA libh4toh5 provides a toolkit to help build conversion utilities. (See below.) University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 9 HDF
  • 10. II. Recent NCSA Activities • • NCSA has been establishing a toolkit to support transition Tools for Default Conversion of HDF4 to HDF5 – Specification of default mappings – h4toh5 utility – convert whole file to HDF5 – libh4toh5 – C library to convert individual objects See: http://hdf.ncsa.uiuc.edu/h4-h5.html University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 10 HDF
  • 11. Default Mapping • Specification of default mapping of HDF4 and HDF5 concepts and objects – Conceptual guidance for developers – Standards to help interoperability – A general purpose solution, should be customized for particular uses http://hdf.ncsa.uiuc.edu/HDF5/doc/ADGuide/H4toH5Mapping.pdf University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 11 HDF
  • 12. Data Conversion Software • h4toh5 utility – conversion of 1 HDF4 file to HDF5 – Implements the mapping specification – Model for customized conversion utilities • Libh4toh5 – Library of conversions for single objects, groups of objects – Same mapping and algorithms as h4toh5 utility – Helps construction of custom conversions For more info ant to obtain: http://hdf.ncsa.uiuc.edu/h4toh5 Feedback on these is requested! University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 12 HDF
  • 13. Two Experiments • Two Experiments testing conversion of HDF4 to HDF5 data – Used sample NASA datasets • Experiment 1: Covert whole files with h4toh5 utility – Default conversion of standard HDF – Didn’t convert HDF-EOS objects • Experiment 2: convert hybrid HDF-EOS files with heconvert plus libh4toh5 – Convert HDF-EOS objects and other HDF objects University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 13 HDF
  • 14. Conclusions • Conversion from HDF4 to HDF5 is feasible, even for whole collections – Could be done on demand, or whole archives could be converted • Custom product-specific conversion utilities are feasible – This is not particularly difficult – Demonstrates the effective use of HDFEOS4 and HDFEOS5 together University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 14 HDF
  • 15. Experiment 1: conversion of NASA datasets to HDF5 • Tested with HDF4 files from NASA – Files from DIAL, DAACs • All files converted successfully • Conversion was fast http://hdf.ncsa.uiuc.edu/h4toh5/Experiment/h4toh5exp.html University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 15 HDF
  • 16. University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 16 HDF
  • 17. University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 17 HDF
  • 18. Conclusions • For many NASA collections, conversion is feasible and fast – Could be done on demand, or whole archives could be converted University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 18 HDF
  • 19. Caveats • Not a representative sample of NASA data • This is a default conversion: e.g., the result is not a valid HDF-EOS5 file – custom conversion would be desirable • Files with very large individual objects performed much worse – newer products have this characteristic – conversion utility needs better memory management University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 19 HDF
  • 20. Experiment 2: ‘Hybrid’ HDF-EOS files • heconvert – utility that converts HDF-EOS4 to HDF-EOS5 – Converts the HDF-EOS objects: • Grid, Swath, Point • StructMetadata.0 • Real EOS data are hybrids: they have other HDF4 objects – Vdata tables, SDS arrays – ProductMetadata.0, etc. • These objects are omitted by heconvert University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 20 HDF
  • 21. ‘Hybrid’ HDF-EOS files • Discussed this last year: almost all HDF-EOS files have standard HDF objects as well as HDFEOS object. See previous talk (Workshop IV): http://hdf.ncsa.uiuc.edu/h4toh5/ESDIS-sep/mcgrath-transitionissues/index.htm • Key issues – – – – Can convert the EOS objects libh4toh5 can convert other objects individually But is not trivial to find the ‘other’ objects Probably requires custom conversion per data product University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 21 HDF
  • 22. Experiment: ‘Hybrid’ HDF-EOS files • Method: added calls to libh4toh5 – Same conversion of EOS objects – Finds and converts (at least some) of the nonEOS objects • all Vdatas, annotations, images, ‘lone’ SDSs • Data: files from the HDF-EOS Sampler CD – These files all have non-EOS objects University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 22 HDF
  • 23. Results and Observations • Results: libh4toh5 is a useful toolkit for constructing conversion tools – In most cases, all the objects are copied to the HDF5 file – Negligible overhead • This is a ‘default’ conversion – Probably not the desired layout of the HDF5 – Would want to use non-default options to libh4toh5, or possibly write custom http://hdf.ncsa.uiuc.edu/h4toh5/Experiment2/heconvert.html University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 23 HDF
  • 24. Summary • HDFEOS4 and HDFEOS5 can be used in the same program – Can use existing and future data together • Conversion of HDF4 to HDF5 is feasible – Conversion could be ‘on demand’ or for whole collections • When conversion is desired, will likely want product-specific conversion – This is not particularly difficult – NCSA’s libh4toh5 provides a good initial toolkit University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 24 HDF
  • 25. URLs • NCSA information page: http://hdf.ncsa.uiuc.edu/h4-h5/ • Conversion Utility Experiment http://hdf.ncsa.uiuc.edu/h4toh5/Experiment/h4toh5exp.html • HE Conversion Experiment http://hdf.ncsa.uiuc.edu/h4toh5/Experiment2/heconvert.html University of Illinois at Urbana-Champaign McGrath/Yang 2/27/02 25 HDF