HDFView With HDF-EOS Plug-in
Peter Cao, National Center for Supercomputing Applications
Ray Milnurn, Dave Buto, L-3 Communications Government Services, Inc.

This work is supported in part by a Cooperative Agreement
with the National Aeronautics and Space Agency (NASA) and
National Center for Supercomputing Applications (NCSA)

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

1/12
About This Presentation




Review of the HDFView
How to implement an HDFView module
An example: HDF-EOS plug-ins

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

2/12
What Is HDFView
HDFView is a visual tool to view and edit HDF4 and HDF5 files





Easy to use (conventional treeview, tableview, tableview)
Runs on multiple platforms
Extendable to support user plug-ins (I/O and GUI)
Open remote file with URL

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

3/12
Install And Run HDFView


Download
http://hdf.ncsa.uiuc.edu/hdf-java-html/hdfview/index.html



Windows
To install, hdfview_install_windows_vm.exe
To run, Start -> programs Files -> NCSA HDFView 2.1 -> HDFView 2.1



Unix
To install, sh ./hdfview_install_{linux, solaris, irix}_{vm, novm}.bin
To run, $HDFVIEW_HOME/hdfview



Mac OS X
To install, open hdfview_install_macosx_novm.zip
To run, click the "HDFView" on the desktop

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

4/12
How TO Use HDFView
Open from file dialog

Open from recent file list

Type local file path or remote URL

Double mouse click

Right mouse click

Log Info or Metadata

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

5/12
What is An HDFView Module
It is a user adds-on component to HDFView to



Support new file format
Display file content in different way

TreeView

ImageView

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

6/12
Modular Model
GUI Interfaces
TableView
TreeView
ImageView

User GUI Module

MetaDataView

TextView

HDFView
Abstract I/O
Group
FileFormat

User I/O Module

Dataset

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

7/12
Steps To Implement A Module




Include HDFView jar files in your classpath
Write your I/O and GUI module
Pack and put your jar file at $HDFVIEW/lib/ext

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

8/12
HDF-EOS Plug-ins
hdfeos.object.he2

HE2File
ncsa.ndf.object

FileFormat

hdfeos.object.he5

HE5File
ncsa.ndf.view

hdfeos.view

TreeView

HETreeView

ncsa.ndf.view
MetaDataView

hdfeos.view

HEMetadataView

ncsa.ndf.view

hdfeos.view

TableView

HETableView

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

9/12
Register HDF-EOS File Format

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

10/12
Use HDF-EOS Plug-ins

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

11/12
Questions

HDF and HDF-EOS
Workshop VIII, October 2628, 2004

12/12

HDFView With an HDF-EOS Plug-in

  • 1.
    HDFView With HDF-EOSPlug-in Peter Cao, National Center for Supercomputing Applications Ray Milnurn, Dave Buto, L-3 Communications Government Services, Inc. This work is supported in part by a Cooperative Agreement with the National Aeronautics and Space Agency (NASA) and National Center for Supercomputing Applications (NCSA) HDF and HDF-EOS Workshop VIII, October 2628, 2004 1/12
  • 2.
    About This Presentation    Reviewof the HDFView How to implement an HDFView module An example: HDF-EOS plug-ins HDF and HDF-EOS Workshop VIII, October 2628, 2004 2/12
  • 3.
    What Is HDFView HDFViewis a visual tool to view and edit HDF4 and HDF5 files     Easy to use (conventional treeview, tableview, tableview) Runs on multiple platforms Extendable to support user plug-ins (I/O and GUI) Open remote file with URL HDF and HDF-EOS Workshop VIII, October 2628, 2004 3/12
  • 4.
    Install And RunHDFView  Download http://hdf.ncsa.uiuc.edu/hdf-java-html/hdfview/index.html  Windows To install, hdfview_install_windows_vm.exe To run, Start -> programs Files -> NCSA HDFView 2.1 -> HDFView 2.1  Unix To install, sh ./hdfview_install_{linux, solaris, irix}_{vm, novm}.bin To run, $HDFVIEW_HOME/hdfview  Mac OS X To install, open hdfview_install_macosx_novm.zip To run, click the "HDFView" on the desktop HDF and HDF-EOS Workshop VIII, October 2628, 2004 4/12
  • 5.
    How TO UseHDFView Open from file dialog Open from recent file list Type local file path or remote URL Double mouse click Right mouse click Log Info or Metadata HDF and HDF-EOS Workshop VIII, October 2628, 2004 5/12
  • 6.
    What is AnHDFView Module It is a user adds-on component to HDFView to   Support new file format Display file content in different way TreeView ImageView HDF and HDF-EOS Workshop VIII, October 2628, 2004 6/12
  • 7.
    Modular Model GUI Interfaces TableView TreeView ImageView UserGUI Module MetaDataView TextView HDFView Abstract I/O Group FileFormat User I/O Module Dataset HDF and HDF-EOS Workshop VIII, October 2628, 2004 7/12
  • 8.
    Steps To ImplementA Module    Include HDFView jar files in your classpath Write your I/O and GUI module Pack and put your jar file at $HDFVIEW/lib/ext HDF and HDF-EOS Workshop VIII, October 2628, 2004 8/12
  • 9.
  • 10.
    Register HDF-EOS FileFormat HDF and HDF-EOS Workshop VIII, October 2628, 2004 10/12
  • 11.
    Use HDF-EOS Plug-ins HDFand HDF-EOS Workshop VIII, October 2628, 2004 11/12
  • 12.
    Questions HDF and HDF-EOS WorkshopVIII, October 2628, 2004 12/12