U.S.Dept of Commerce / NOAA / OAR / ERL / PMEL / TAO
Realtime TAO Buoy Data Display using Java
The realtime data are received daily via satellite from the
TAO buoy array
in the Tropical Pacific Ocean.
Java Applet for the Display of Realtime
Meteorological Data
The following java applet reads and plots the realtime tao
meteorological data files. This applet demonstrates the ability to
interactively display data located on a remote server at PMEL.
This is a document with an embedded Java (tm) applet. You need a Java
capable browser to view. To see what this applet looks like go to this
DEMONSTRATION PAGE.
This applet uses the G2Dint class from the
Java Graph
Class Library to plot the data. This allows the user
some interactive control over the plot and the ability to retrieve data points.
- Mouse Down, Drag, Up
- By pressing the mouse button and dragging it across the screen the scale
of the plot can be altered. With the release of the mouse button the
plot is redrawn using the new scale.
This can be used to zoom in on a section of
the plot. Data outside the plot is clipped.
- Shift Mouse Down
- By pressing the shift key and the mouse the plot is
rescaled back to the default scale of the data.
- Keypress R
- By pressing R the plot is rescaled back to the default
scale of the data.
- Keypress r
- By pressing r the plot is repainted. This is useful when scrolling
the page as scrolling can effect the plot in odd ways.
- Keypress d
- This event will popup a window that will display the closest data
point to the cursor. Repeated pressing of the key while moving the cursor
will display the closest data point to the cursor.
A black dot will be plotted over the data point to indicate which data
point has been found.
Use Keypress r to refresh the plot and erase the black dots.
- Keypress D
- This event will hide the closest data point window.
- Keypress m
- This event will popup a window that will allow the user to
set the plot range by entering the xmin,xmax, ymin and ymax limits.
Any field left blank will be ignored. Hitting return in any field
will move the cursor to the next field in the list.
- Keypress h
- This event if it occurs in Any of the popup windows will cause the
window to be hidden. This can be used if the popup windows are
accidentally left behind after the main window has disappeared.
About designing this Java
applet. |
About Java efforts of the EPIC Team.
People to contact in the TAO Project
taogroup@pmel.noaa.gov
14 March 1996