Download presentation
Presentation is loading. Please wait.
Published byAlisha Simon Modified over 8 years ago
1
Using Java Graphics to Display Ocean Observations in NOAAServer D.W. Denbo Joint Institute for the Study of Ocean and Atmosphere (JISAO), University of Washington, Seattle, WA (JISAO is a joint institute of the University of Washington and the National Oceanic and Atmospheric Administration's Pacific Marine Environmental Laboratory) “http://www.epic.noaa.gov/NOAAServer/sgt”
2
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX2 Introduction zNOAAServer Project was created to provide a view of NOAA’s on-line information free of organizational boundaries. zTo accomplish this goal NOAAServer applies a combination of World Wide Web and network computing technologies. zJava graphics enables highly interactive client- side graphics. NOAAServer Project was established by and is managed out of the Environmental Services Data and Information Management (ESDIM) office.
3
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX3 Design Goals zAllow graphics developer flexibility and freedom zGIS style layer approach zSupport several display types yX-Y plot y2-D contour and “pixel” plots yVector plot yPoint-Value plot zDevelop a framework that can be easily extended
4
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX4 Implementation z Two coordinate systems yphysical yuser z Three main components yPane yLayer xLineKey xSGLabel yGraph xAxes xRenderer
5
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX5 Mouse Events zMouse events are pre-processed by Pane zEvents passed to user are yObject selection yZoom rectangle selected zEvents processed by sgt are yObject move yLine hi-lighting
6
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX6 Graphics Data Model zData model needs to ysupport X-Y, contour, raster, vector, and point plots ybe compact and “light-weight” for client-server Web zAccomplish the above by ysupporting “plottable” objects xone- and two-dimensional arrays xcoordinate information xunits and titles ydata models implemented using java interfaces
7
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX7 Graphics Data Model zPrimitive Data Types ySGTPoint ySGTLine ySGTGrid (2-dimensional) ySGTVector (2-component) ySGTImage zSGTMetaData ygetName() ygetUnits() yisModulo() ygetProperties()
8
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX8 NOAAServer Application zClient allows user to yselect a remote dataset ynavigate through the dataset yreceive the data request ygraphically display the data zSGT used to display data in an independent window zLayouts construct a graph, manage zooming, and add datasets to the graphs
9
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX9
10
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX10 Station Locations zUses StationPlotLayout with yLineCartesianRenderer yMultiple SGTLine objects yLineAttribute set for MARK style xLayout uses different plot marks for each set of stations yLineKey used to identify each set of stations ySupports zooming
11
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX11
12
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX12 Time Series Plot zUses LineTimeSeriesLayout yLineCartesianRenderer yMultiple SGTLine objects yLineAttribute set for SOLID lines xLayout uses different pen colors for each line yLineKey used to identify each station ySupports zooming
13
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX13
14
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX14 Raster Time Series Plot zUses RasterTimeSeriesLayout with yRasterCartesianRenderer ySingle SGTGrid object yColorMap used to map temperature to a color yColorKey graphically displays the mapping
15
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX15
16
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX16 Future Directions zNext major version will include Java2D capabilities yLine widths yDash styles yMore font control for Labels yArbitrary rotated text zImplement MapGraph and supporting classes
17
January 14, 1999 http://www.epic.noaa.gov/NOAAServer/sgt 15th IIPS, Dallas, TX17 References zBrazille, W., D.W. Denbo, and W.H. Zhu, 1997. NOAAServer Version 2 Co- plotting Prototype. Presented at NOAA WebShop97, October 22-23, 1997, Silver Spring, Maryland.Brazille, W., D.W. Denbo, and W.H. Zhu, 1997. NOAAServer Version 2 Co- plotting Prototype zDenbo, D.W., 1998. Scigraph: Object-Oriented 2D Scientific Graphics Library. Presented at the 14th International Conference on Interactive Information and Processing Systems for Meteorology, Oceanography, and Hydrology, January 12-16, 1998, Phoenix, Arizona.Denbo, D.W., 1998. Scigraph: Object-Oriented 2D Scientific Graphics Library zDenbo, D.W., 1997. NOAAServer Graphics Engine Architecture. Presented at NOAA WebShop97, October 22-23, 1997, Silver Spring, Maryland.Denbo, D.W., 1997. NOAAServer Graphics Engine Architecture
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.