[Index] [1] [2] [3] [4] [5] [6] [7]
This chapter assumes that you have installed HDFView and, with Chapter 3, The HDF Object Model, is designed to help you get to the point where you are actually looking at HDF datasets.
2.1 The Main Window
2.2 Opening a File
2.3 Tree View of File Hierarchy
2.4 Status Information
2.5 Metadata/Attributes
2.6 Select GUI modules
The main window consists of five components:
Menubar
Tool bar
File bar
Tree panel
Data Panel
Info panel.
The Main Window
Tool bar
The tool bar displays buttons that are shortcuts for commonly performed
tasks. such as opening and closing a file; zooming in/out of an image;
flipping forward and backward through data pages.
File bar
The file bar is used to enter file/file path to open. Valid file names include
absolute file name, file path, and url to remote file such as,
/hdf-java-html/hdf5_test.h5
Tree panel
The tree panel displays the group structure of an HDF file as a tree of
"folders". Other objects such as dataset and image are displayed as leaf
object in the tree.
Data panel
The data panel is where the content of data object is displayed at. All
the data windows are laid out in the data panel. You can display more one
documents in the data panel.
Info panel
The Info panel is used to displays status informaton or metadata. Click tab
"Log Info" or "Metadata" to status information or metadata respectively. Status
message includes file or data information, warning or error message and status
of data processing. Info panel is also used for quick view metadata of the selected
object in the tree view when "Metadata" tab is selected.
The menubar is at the top of the main window. You can select a menu command
from menu items or press key combination from keyboard to invoke the menu
item's action without navigating the menu hierarchy. For example, to exit
the HDFView, you can either press "Ctrl+Q" from the keyboard or select Exit
item from the File menu.
File menu File menu contains commands to open/close files, create and save files, and exit the HDFView. It also displays a list of most recent files for quick reopen.
File Menu
Tools menu
Window Menu
Help Menu
Local file manager (Windows)
The structure of the file is displayed in the Tree panel on the left. Data objects are represented as icons, groups are represented by folders. An HDF file may contain groups, dataset (arrays), named datatypes and links.
The hierarchy of the file can be navigated by selecting folders to "open" a group, which displays the objects contained by the group. When an object is selected, the data is displayed appropriately in the data panel on the right.
You can open multiple files at one time. Files are listed as root objects in the tree. The following figure illustrates that an HDF4 file, annras.hdf, and an HDF5 file, hdf5_test.h5, are currently open.
Tree view
General Properties of Dataset
To view user block in text, right-click the file node (the root group) to popup the metadata dialog. Click the "User Block" tab in the metadata dialog to show the user block information in text.
General Properties of Dataset
By default, data or attribute is displayed with default modules. You can also select specific module for display. To select a module, use "Open As" option from the popup menu to choose opotional TableView or ImageView. Use "Show Property As" to choose a MetadataView.