[Index] [Prev] [Next] [Bottom]


Chapter 2: Getting Started

This chapter assumes that you have installed JHV and, with Chapter 3, Opening HDF Data Objects, is designed to help you get to the point where you are actually looking at HDF data sets.

2.1 Starting the Program
2.2 Loading a File
2.3 Displaying Information
2.4 Setting the View Options
2.5 Viewing the Online Guide
3 Opening HDF Data Objects


2.1 Starting the Program

Upon starting JHV, the JHV main window will appear with the following basic elements:
Menu bar
The menu bar provides three menus, File, View, and Help, and the associated commands.
File bar
The file bar contains two elements, an Open File button and a filename field. Either tool allows you to open a new file -- either by typing a filename into the file field or by clicking the mouse on the Open File button.
Tree window
The tree window is a scrollable window displaying the hierarchical structure of an HDF file and its data sets. Scroll up and down to see the complete data set hierarchy. Data objects and data object groups are represented as folders and icons in the tree. Click on a folder to open it; click on a data set icon to display the data or a preview image.
Preview image window
The preview image window displays SDS data objects or raster images at a fixed preview size. As a result, the preview image displayed may not have the full resolution of the original image. Drag the mouse on the preview image to load the data for the selected area or click on the preview image to load the whole data object.
Message window
The message window displays all text message such as annotation, data attributes, program status, and feedback.


Figure 2.1 The JHV main window

2.2 Loading a File

You can open files with either the File menu or the file bar.

File Menu
Select Open Local File on the File menu to open your system's file manager. Select the file to be opened. The following figure illustrates the use of the Windows 95 file manager.


Figure 2.2 Local file manager (Windows 95)
File bar -- the filename field
You can also open a file by typing a valid filename (path and name) into the filename field and pressing Enter.
File bar -- the Open File button
Clicking on the Open File button will open a file directly if the name of a valid HDF or HAIF file is enterred in the filename field. Otherwise, JHV opens the local file manager.

2.3 Displaying Information

JHV displays all text information, such as annotation, data attributes, program status, and feedback, in the message window. Click on a folder in the hierarchical tree to view the text information about the folder; click the annotation or data attribute icon to display the annotation or data attributes. Scroll the text window to see the full message.

The following figure illustrates the first several lines of a file annotation displayed in the message window.


Figure 2.3 File annotation displayed in the message window

2.4 Setting the View Options

Default
Animation
Layer

The View menu provides three viewing options: Default, Animation, and Layer. Animation can be used with 3D SDS data sets and with sets of 8-bit raster images. Layer, a means of viewing sets of overlaid images, can be used only with sets of 8-bit raster images.

The use of these options is discussed in Chapter 7, Animation, and Chapter 8, Image Overlays.

2.5 Viewing the Online Guide

Online Guide
About

The Online Guide command in the Help menu loads this JHV User's Guide for display in your default web browser. The User's Guide is included as part of the JHV software, and is also available on the Web at: http://hdf.ncsa.uiuc.edu/java-hdf-html/jhv/UsersGuide/JHV2.2/.

If JHV does not find a browser, it will ask for the browser's location. The search path and the location of the User's Guide are stored in the file, jhv/lib/jhv.props. If necessary, use a basic text editor to change this file.


[Index] [Prev] [Next] [Bottom]


NCSA
The National Center for Supercomputing Applications

University of Illinois at Urbana-Champaign

hdfhelp@ncsa.uiuc.edu