SlideShare a Scribd company logo
The HDF Group

HDF Tools Tutorial
Peter Cao
The HDF Group
The 15th HDF and HDF-EOS Workshop
April 17-19, 2012

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

1

www.hdfgroup.org
Tools Tutorial
HDF5
Command-line
tools

HDFView

GUI
Built in Java

Text
Built in C

Separate release

Part of the lib release

HDF4, HDF5, NetCDF, etc.

HDF5 only

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

2

www.hdfgroup.org
HDFView

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

3

www.hdfgroup.org
HDFView

The best way to get help
a)
b)
c)
d)
e)

Apr. 17-19, 2012

Call Peter
Email to Barbara
Stop by Mike’s office
All of above
None of above

HDF/HDF-EOS Workshop XV

4

www.hdfgroup.org
HDFView

HDFView

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

5

www.hdfgroup.org
View File Content

File structure

File Content

Metadata and log info.
Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

6

www.hdfgroup.org
Add/delete, Copy/paste Objects

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

7

www.hdfgroup.org
Add/delete, Copy/paste Objects

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

8

www.hdfgroup.org
Add/Delete, Copy/Paste Objects

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

9

www.hdfgroup.org
Modify, Copy/Paste Data Values

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

10

www.hdfgroup.org
Modify, Add, Delete Attributes

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

11

www.hdfgroup.org
Modify, Add, Delete Attributes

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

12

www.hdfgroup.org
Modify, Add, Delete Attributes

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

13

www.hdfgroup.org
Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

14

www.hdfgroup.org
HDFView
• View file content
• File structure/metadata
• Data values or Images

• Change file content
• Add/delete objects/attributes
• Modify values of datasets or attribute

• Import/export
• Image files
• Text files
Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

15

www.hdfgroup.org
The HDF Group

HDF5 Command-line tools

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

16

www.hdfgroup.org
HDF5 Command-line tools
•

View or check file content
h5dump, h5diff, h5ls, h5check, etc.

•

Change file content or create a new file
h5repack, h5import, h5jam, h5copy, etc.

•

Convert between HDF5 and another format
h4toh5, h5toh4, gif2h5, h52gif, etc.

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

17

www.hdfgroup.org
HDF5 Command-line tools
• H5dump
• H5repack

• H5diff
• h5copy

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

18

www.hdfgroup.org
HDF5 Command-line tools

“-h” or “-help”
h5dump -h

HDF5 tools

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

19

www.hdfgroup.org
h5dump
h5dump -H ami.h5
HDF5 "ami.h5" {
GROUP "/" {
GROUP "EnSight_model" {
ATTRIBUTE "description_1" {
DATATYPE H5T_STRING {
STRSIZE 256;
STRPAD H5T_STR_NULLPAD;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
}
….
Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

20

www.hdfgroup.org
h5dump: Dataset Information
H5dump –H

-d

/EnSight_model/geometry/parts/part_2/quad4

ami.h5

HDF5 "ami.h5" {
DATASET "/EnSight_model/geometry/parts/part_2/quad4" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 768, 4 ) / ( 768, 4 ) }
}
}

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

21

www.hdfgroup.org
h5dump: Dataset Content
h5dump -d /EnSight_model/geometry/parts/part_2/quad4 ami.h5
HDF5 "ami.h5" {
DATASET "/EnSight_model/geometry/parts/part_2/quad4" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 768, 4 ) / ( 768, 4 ) }
DATA {
(0,0): 5, 6, 431, 430,
(1,0): 6, 7, 432, 431,
(2,0): 7, 8, 433, 432,
(3,0): 8, 9, 434, 433,
(4,0): 9, 10, 435, 434,
(5,0): 10, 11, 436, 435,
…
Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

22

www.hdfgroup.org
h5dump: Data Subset
h5dump -d /EnSight_model/geometry/parts/part_2/quad4 -s 10,0 -c 10,2 ami.h5
HDF5 "ami.h5" {
DATASET "/EnSight_model/geometry/parts/part_2/quad4" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 768, 4 ) / ( 768, 4 ) }
SUBSET {
START ( 10, 0 );
STRIDE ( 1, 1 );
COUNT ( 10, 2 );
BLOCK ( 1, 1 );
DATA {
(10,0): 15, 16,
(11,0): 16, 17,
(12,0): 17, 18,
(13,0): 18, 19,
(14,0): 19, 20,
}
Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

23

www.hdfgroup.org
h5repack

Copies a whole file to a new file

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

24

www.hdfgroup.org
H5repack: Remove Junk Space

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

25

www.hdfgroup.org
H5repack: change the storage layout
2x2 chunks

h5repack -l CHUNK=16x16 tools_bad_layout.h5 tmp.h5
162x16 chunks

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

26

www.hdfgroup.org
H5repack:Apply compression filter

10 GB

h5repack -f GZIP=6 tmp.h5 tmp2.h5
1 GB

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

27

www.hdfgroup.org
h5diff
Show differences
between
two files or two objects

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

28

www.hdfgroup.org
H5diff: Two files

h5diff tools_diff1.h5 tools_diff2.h5

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

29

www.hdfgroup.org
H5diff: Two datasets

h5diff tools_diff1.h5 tools_diff2.h5 /dset

h5diff tools_diff1.h5 tools_diff2.h5 /g1/uint8 /dset

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

30

www.hdfgroup.org
h5copy

Copy one or more objects to another file
h5copy -i tools_input.h5 -o tmp.h5 -s /g1/g2/f -d /float

-h
Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

31

www.hdfgroup.org
Acknowledgements
This work was supported by Subcontract number
114820 under Raytheon Contract number
NNG10HP02C, funded by the National Aeronautics
and Space Administration (NASA) and by
cooperative agreement number NNX08AO77A from
the NASA. Any opinions, findings, conclusions, or
recommendations expressed in this material are
those of the authors and do not necessarily reflect
the views of Raytheon or the National Aeronautics
and Space Administration.

Apr. 17-19, 2012

HDF/HDF-EOS Workshop XV

32

www.hdfgroup.org

More Related Content

PPTX
PPTX
Introduction to HDF5 Data and Programming Models
PPT
Using HDF5 and Python: The H5py module
PPTX
HDF Group Support for NPP/NPOESS/JPSS
PPTX
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
PPT
Substituting HDF5 tools with Python/H5py scripts
Introduction to HDF5 Data and Programming Models
Using HDF5 and Python: The H5py module
HDF Group Support for NPP/NPOESS/JPSS
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Substituting HDF5 tools with Python/H5py scripts

What's hot (20)

PPTX
Tools to improve the usability of NASA HDF Data
PDF
Python and HDF5: Overview
PPSX
NASA HDF/HDF-EOS Data for Dummies (and Developers)
PPTX
HDF4 Mapping Project Update
PDF
Hdf5 is for Lovers (PyData SV 2013)
PPT
The Python Programming Language and HDF5: H5Py
PPSX
NASA HDF/HDF-EOS Data Access Challenges
PPT
Digital Object Identifiers for EOSDIS data
PPT
PPT
Migrating from HDF5 1.6 to 1.8
PPT
Projection Indexes for HDF5 Datasets
PPTX
Hdf5 parallel
PPT
Introduction to HDF5 Data Model, Programming Model and Library APIs
Tools to improve the usability of NASA HDF Data
Python and HDF5: Overview
NASA HDF/HDF-EOS Data for Dummies (and Developers)
HDF4 Mapping Project Update
Hdf5 is for Lovers (PyData SV 2013)
The Python Programming Language and HDF5: H5Py
NASA HDF/HDF-EOS Data Access Challenges
Digital Object Identifiers for EOSDIS data
Migrating from HDF5 1.6 to 1.8
Projection Indexes for HDF5 Datasets
Hdf5 parallel
Introduction to HDF5 Data Model, Programming Model and Library APIs
Ad

Viewers also liked (19)

PDF
Using IDL with Suomi NPP VIIRS Data
PPT
Status of HDF-EOS, Related Software and Tools
PPTX
HDF Tools Updates and Discussions
PPTX
HDF OPeNDAP Project Update and Demo
PPTX
HDF & HDF-EOS Data & Support at NSIDC
PPT
HDF-EOS to GeoTIFF Conversion Tool & HDF-EOS Plug-in for HDFView
PPT
GES DISC Eexperiences with HDF Formats for MEaSUREs Projects
PPTX
Bridging ICESat and ICESat-2 Standard Data Products
PPTX
Connecting HDF with ISO Metadata Standards
PPTX
Earth Science Data and Information System (ESDIS) Project Update
PPT
PPTX
HDF Project Status and Plans
PPTX
Web-based On-demand Global NDVI Data Services
PDF
Data Storage for Remote Monitoring of CAT Machines Using HDF
PPTX
MATLAB, netCDF, and OPeNDAP
PPTX
HDF and netCDF Data Support in ArcGIS
PPTX
Access HDF-EOS data with OGC Web Coverage Service - Earth Observation Applica...
PPTX
iRODS: Interoperability in Data Management
Using IDL with Suomi NPP VIIRS Data
Status of HDF-EOS, Related Software and Tools
HDF Tools Updates and Discussions
HDF OPeNDAP Project Update and Demo
HDF & HDF-EOS Data & Support at NSIDC
HDF-EOS to GeoTIFF Conversion Tool & HDF-EOS Plug-in for HDFView
GES DISC Eexperiences with HDF Formats for MEaSUREs Projects
Bridging ICESat and ICESat-2 Standard Data Products
Connecting HDF with ISO Metadata Standards
Earth Science Data and Information System (ESDIS) Project Update
HDF Project Status and Plans
Web-based On-demand Global NDVI Data Services
Data Storage for Remote Monitoring of CAT Machines Using HDF
MATLAB, netCDF, and OPeNDAP
HDF and netCDF Data Support in ArcGIS
Access HDF-EOS data with OGC Web Coverage Service - Earth Observation Applica...
iRODS: Interoperability in Data Management
Ad

Similar to HDF Tools Tutorial (20)

PPT
HDFView and HDF Java Products
PPTX
HDF Update for DAAC Managers (2017-02-27)
PPT
HDF OPeNDAP project update and demo
PPTX
HDF5 OPeNDAP project update and demo
PDF
Parallel HDF5 Introductory Tutorial
PPSX
Adding new servicees for HDF in THREDDS Data Server (TDS)
PPTX
HDF5 and Ecosystem: What Is New?
PPTX
Support for NPP/NPOESS by The HDF Group
PPTX
PPT
Ensuring Long Term Access to Remotely Sensed HDF4 Data with Layout Maps
PPTX
Easy Remote Access Via OPeNDAP
PDF
Transition from HDF4 to HDF5
PPT
Hdf5 intro
HDFView and HDF Java Products
HDF Update for DAAC Managers (2017-02-27)
HDF OPeNDAP project update and demo
HDF5 OPeNDAP project update and demo
Parallel HDF5 Introductory Tutorial
Adding new servicees for HDF in THREDDS Data Server (TDS)
HDF5 and Ecosystem: What Is New?
Support for NPP/NPOESS by The HDF Group
Ensuring Long Term Access to Remotely Sensed HDF4 Data with Layout Maps
Easy Remote Access Via OPeNDAP
Transition from HDF4 to HDF5
Hdf5 intro

More from The HDF-EOS Tools and Information Center (20)

PDF
HDF5 2.0: Cloud Optimized from the Start
PDF
Using a Hierarchical Data Format v5 file as Zarr v3 Shard
PDF
Cloud-Optimized HDF5 Files - Current Status
PDF
Cloud Optimized HDF5 for the ICESat-2 mission
PPTX
Access HDF Data in the Cloud via OPeNDAP Web Service
PPTX
Upcoming New HDF5 Features: Multi-threading, sparse data storage, and encrypt...
PPTX
The State of HDF5 / Dana Robinson / The HDF Group
PDF
Cloud-Optimized HDF5 Files
PDF
Accessing HDF5 data in the cloud with HSDS
PPTX
Highly Scalable Data Service (HSDS) Performance Features
PDF
Creating Cloud-Optimized HDF5 Files
PPTX
HDF5 OPeNDAP Handler Updates, and Performance Discussion
PPTX
Hyrax: Serving Data from S3
PPSX
Accessing Cloud Data and Services Using EDL, Pydap, MATLAB
PDF
HDF - Current status and Future Directions
PPSX
HDFEOS.org User Analsys, Updates, and Future
PPTX
HDF - Current status and Future Directions
PDF
H5Coro: The Cloud-Optimized Read-Only Library
PPTX
MATLAB Modernization on HDF5 1.10
HDF5 2.0: Cloud Optimized from the Start
Using a Hierarchical Data Format v5 file as Zarr v3 Shard
Cloud-Optimized HDF5 Files - Current Status
Cloud Optimized HDF5 for the ICESat-2 mission
Access HDF Data in the Cloud via OPeNDAP Web Service
Upcoming New HDF5 Features: Multi-threading, sparse data storage, and encrypt...
The State of HDF5 / Dana Robinson / The HDF Group
Cloud-Optimized HDF5 Files
Accessing HDF5 data in the cloud with HSDS
Highly Scalable Data Service (HSDS) Performance Features
Creating Cloud-Optimized HDF5 Files
HDF5 OPeNDAP Handler Updates, and Performance Discussion
Hyrax: Serving Data from S3
Accessing Cloud Data and Services Using EDL, Pydap, MATLAB
HDF - Current status and Future Directions
HDFEOS.org User Analsys, Updates, and Future
HDF - Current status and Future Directions
H5Coro: The Cloud-Optimized Read-Only Library
MATLAB Modernization on HDF5 1.10

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Electronic commerce courselecture one. Pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
MYSQL Presentation for SQL database connectivity
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25 Week I
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Programs and apps: productivity, graphics, security and other tools
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Electronic commerce courselecture one. Pdf
Understanding_Digital_Forensics_Presentation.pptx
Approach and Philosophy of On baking technology

HDF Tools Tutorial

  • 1. The HDF Group HDF Tools Tutorial Peter Cao The HDF Group The 15th HDF and HDF-EOS Workshop April 17-19, 2012 Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 1 www.hdfgroup.org
  • 2. Tools Tutorial HDF5 Command-line tools HDFView GUI Built in Java Text Built in C Separate release Part of the lib release HDF4, HDF5, NetCDF, etc. HDF5 only Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 2 www.hdfgroup.org
  • 3. HDFView Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 3 www.hdfgroup.org
  • 4. HDFView The best way to get help a) b) c) d) e) Apr. 17-19, 2012 Call Peter Email to Barbara Stop by Mike’s office All of above None of above HDF/HDF-EOS Workshop XV 4 www.hdfgroup.org
  • 5. HDFView HDFView Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 5 www.hdfgroup.org
  • 6. View File Content File structure File Content Metadata and log info. Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 6 www.hdfgroup.org
  • 7. Add/delete, Copy/paste Objects Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 7 www.hdfgroup.org
  • 8. Add/delete, Copy/paste Objects Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 8 www.hdfgroup.org
  • 9. Add/Delete, Copy/Paste Objects Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 9 www.hdfgroup.org
  • 10. Modify, Copy/Paste Data Values Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 10 www.hdfgroup.org
  • 11. Modify, Add, Delete Attributes Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 11 www.hdfgroup.org
  • 12. Modify, Add, Delete Attributes Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 12 www.hdfgroup.org
  • 13. Modify, Add, Delete Attributes Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 13 www.hdfgroup.org
  • 14. Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 14 www.hdfgroup.org
  • 15. HDFView • View file content • File structure/metadata • Data values or Images • Change file content • Add/delete objects/attributes • Modify values of datasets or attribute • Import/export • Image files • Text files Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 15 www.hdfgroup.org
  • 16. The HDF Group HDF5 Command-line tools Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 16 www.hdfgroup.org
  • 17. HDF5 Command-line tools • View or check file content h5dump, h5diff, h5ls, h5check, etc. • Change file content or create a new file h5repack, h5import, h5jam, h5copy, etc. • Convert between HDF5 and another format h4toh5, h5toh4, gif2h5, h52gif, etc. Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 17 www.hdfgroup.org
  • 18. HDF5 Command-line tools • H5dump • H5repack • H5diff • h5copy Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 18 www.hdfgroup.org
  • 19. HDF5 Command-line tools “-h” or “-help” h5dump -h HDF5 tools Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 19 www.hdfgroup.org
  • 20. h5dump h5dump -H ami.h5 HDF5 "ami.h5" { GROUP "/" { GROUP "EnSight_model" { ATTRIBUTE "description_1" { DATATYPE H5T_STRING { STRSIZE 256; STRPAD H5T_STR_NULLPAD; CSET H5T_CSET_ASCII; CTYPE H5T_C_S1; } DATASPACE SIMPLE { ( 1 ) / ( 1 ) } } …. Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 20 www.hdfgroup.org
  • 21. h5dump: Dataset Information H5dump –H -d /EnSight_model/geometry/parts/part_2/quad4 ami.h5 HDF5 "ami.h5" { DATASET "/EnSight_model/geometry/parts/part_2/quad4" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 768, 4 ) / ( 768, 4 ) } } } Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 21 www.hdfgroup.org
  • 22. h5dump: Dataset Content h5dump -d /EnSight_model/geometry/parts/part_2/quad4 ami.h5 HDF5 "ami.h5" { DATASET "/EnSight_model/geometry/parts/part_2/quad4" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 768, 4 ) / ( 768, 4 ) } DATA { (0,0): 5, 6, 431, 430, (1,0): 6, 7, 432, 431, (2,0): 7, 8, 433, 432, (3,0): 8, 9, 434, 433, (4,0): 9, 10, 435, 434, (5,0): 10, 11, 436, 435, … Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 22 www.hdfgroup.org
  • 23. h5dump: Data Subset h5dump -d /EnSight_model/geometry/parts/part_2/quad4 -s 10,0 -c 10,2 ami.h5 HDF5 "ami.h5" { DATASET "/EnSight_model/geometry/parts/part_2/quad4" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 768, 4 ) / ( 768, 4 ) } SUBSET { START ( 10, 0 ); STRIDE ( 1, 1 ); COUNT ( 10, 2 ); BLOCK ( 1, 1 ); DATA { (10,0): 15, 16, (11,0): 16, 17, (12,0): 17, 18, (13,0): 18, 19, (14,0): 19, 20, } Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 23 www.hdfgroup.org
  • 24. h5repack Copies a whole file to a new file Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 24 www.hdfgroup.org
  • 25. H5repack: Remove Junk Space Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 25 www.hdfgroup.org
  • 26. H5repack: change the storage layout 2x2 chunks h5repack -l CHUNK=16x16 tools_bad_layout.h5 tmp.h5 162x16 chunks Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 26 www.hdfgroup.org
  • 27. H5repack:Apply compression filter 10 GB h5repack -f GZIP=6 tmp.h5 tmp2.h5 1 GB Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 27 www.hdfgroup.org
  • 28. h5diff Show differences between two files or two objects Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 28 www.hdfgroup.org
  • 29. H5diff: Two files h5diff tools_diff1.h5 tools_diff2.h5 Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 29 www.hdfgroup.org
  • 30. H5diff: Two datasets h5diff tools_diff1.h5 tools_diff2.h5 /dset h5diff tools_diff1.h5 tools_diff2.h5 /g1/uint8 /dset Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 30 www.hdfgroup.org
  • 31. h5copy Copy one or more objects to another file h5copy -i tools_input.h5 -o tmp.h5 -s /g1/g2/f -d /float -h Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 31 www.hdfgroup.org
  • 32. Acknowledgements This work was supported by Subcontract number 114820 under Raytheon Contract number NNG10HP02C, funded by the National Aeronautics and Space Administration (NASA) and by cooperative agreement number NNX08AO77A from the NASA. Any opinions, findings, conclusions, or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of Raytheon or the National Aeronautics and Space Administration. Apr. 17-19, 2012 HDF/HDF-EOS Workshop XV 32 www.hdfgroup.org

Editor's Notes

  • #3: Hdf4, netcdf, etc.
  • #11: Copy and paste
  • #12: Add general view
  • #13: Add general view
  • #14: Add general view
  • #18: Introduce 4 tools, mention Gerd’spowershell, Dan’s python, and other tools
  • #19: Find these are the most useful/used tools
  • #21: Does not show content of a dataset
  • #25: A little too many details.
  • #32: One or more objects to another file
  • #33: Mention the updates and other things