120 likes | 221 Views
HDFView With HDF-EOS Plug-in. Peter Cao, National Center for Supercomputing Applications Ray Milnurn, Dave Buto, L-3 Communications Government Services, Inc.
E N D
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 26-28, 2004
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 26-28, 2004
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 26-28, 2004
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 26-28, 2004
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 26-28, 2004
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 ImageView TreeView HDF and HDF-EOS Workshop VIII, October 26-28, 2004
Modular Model GUI Interfaces TableView User GUI Module TreeView ImageView MetaDataView TextView HDFView Abstract I/O User I/O Module Group FileFormat Dataset HDF and HDF-EOS Workshop VIII, October 26-28, 2004
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 26-28, 2004
HDF-EOS Plug-ins hdfeos.object.he2 HE2File ncsa.ndf.object FileFormat hdfeos.object.he5 HE5File ncsa.ndf.view TreeView hdfeos.view HETreeView ncsa.ndf.view MetaDataView hdfeos.view HEMetadataView ncsa.ndf.view TableView hdfeos.view HETableView HDF and HDF-EOS Workshop VIII, October 26-28, 2004
Register HDF-EOS File Format HDF and HDF-EOS Workshop VIII, October 26-28, 2004
Use HDF-EOS Plug-ins HDF and HDF-EOS Workshop VIII, October 26-28, 2004
Questions HDF and HDF-EOS Workshop VIII, October 26-28, 2004