12
HDF and HDF-EOS Workshop VIII, October 26-28, 2004 1/12 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) HDFView With HDF-EOS Plug- HDFView With HDF-EOS Plug- in in

Peter Cao, National Center for Supercomputing Applications

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 1/12

Peter Cao, National Center for Supercomputing ApplicationsRay 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)

HDFView With HDF-EOS Plug-inHDFView With HDF-EOS Plug-in

Page 2: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 2/12

About This PresentationAbout This Presentation

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

Page 3: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 3/12

What Is HDFViewWhat Is HDFView

HDFView is a visual tool to view and edit HDF4 and HDF5 filesHDFView is a visual tool to view and edit HDF4 and HDF5 files

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

Page 4: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 4/12

Install And Run HDFView Install And Run HDFView DownloadDownload http://hdf.ncsa.uiuc.edu/hdf-java-html/hdfview/index.html

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

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

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

Page 5: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 5/12

How TO Use HDFViewHow TO Use HDFViewOpen from file dialog Type local file path or remote URLOpen from recent file list

Right mouse click

Double mouse click

Log Info or Metadata

Page 6: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 6/12

What is An HDFView ModuleWhat is An HDFView Module

It is a user adds-on component to HDFView toIt is a user adds-on component to HDFView to Support new file formatSupport new file format Display file content in different wayDisplay file content in different way

TreeView ImageView

Page 7: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 7/12

Modular ModelModular Model

GUI InterfacesGUI Interfaces

TextView

TableView

MetaDataView

TreeView

ImageView

Abstract I/OAbstract I/O

Dataset

FileFormat

Group

HDFViewHDFView

User GUI Module

User I/O Module

Page 8: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 8/12

Steps To Implement A ModuleSteps To Implement A Module

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

Page 9: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 9/12

HDF-EOS Plug-insHDF-EOS Plug-ins

ncsa.ndf.object

FileFormat

hdfeos.object.he2

HE2File

hdfeos.object.he5

HE5File

ncsa.ndf.viewTableView

ncsa.ndf.viewMetaDataView

ncsa.ndf.viewTreeView

hdfeos.view

HETreeView

hdfeos.view

HEMetadataView

hdfeos.view

HETableView

Page 10: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 10/12

Register HDF-EOS File FormatRegister HDF-EOS File Format

Page 11: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 11/12

Use HDF-EOS Plug-insUse HDF-EOS Plug-ins

Page 12: Peter Cao, National Center for Supercomputing Applications

HDF and HDF-EOS Workshop VIII, October 26-28, 2004 12/12

QuestionsQuestions