SGT Beans.


91 views
Uploaded on:
Category: Education / Career
Description
SGT Beans Simple To-Use Illustrations Toolbox for Java Applications Donald W. Denbo UW/JISAO-NOAA/PMEL Presentation The Investigative Representation Toolbox JavaBeans (SGT Beans) is an accumulation of Java classes that give JavaBeans perfect access to SGT.
Transcripts
Slide 1

SGT Beans Easy-To-Use Graphics Toolkit for Java Applications Donald W. Denbo UW/JISAO-NOAA/PMEL

Slide 2

Introduction The Scientific Graphics Toolkit JavaBeans (SGT Beans) is a gathering of Java classes that give JavaBeans perfect access to SGT. JavaBeans makes SGT’s capacities more available to engineers. SGT Beans diminishes the expectation to learn and adapt expected to deliver representation applications. SGT Beans can be utilized with a few Java IDEs (NetBeans, JBuilder, and so on.). NOAATech 2004, Silver Spring, MD

Slide 3

History SGT was produced to permit a NOAAServer client to intuitively review information and overlay plots. SGT right away utilized with … OceanShare , a synergistic apparatus for in situ information representation ncBrowse , a netCDF record program Climate Data Portal customer , an application for searching circulated information SGT has had ~17,000 downloads from 5,800 one of a kind locales in 70 nations. NOAATech 2004, Silver Spring, MD

Slide 4

Other Users of SGT Buoy Data , Morska Bioloska Postaja (Marine Biology Station) Computational Physics Laboratory , University of Edinburgh An Utility in JOELib , Computational Chemistry, University of Tã¼bingen “ Coordinated, Interactive Data Visualization for Neutron Scattering Data ”, Mikkelson et. al. Dezo.org has made SGT applet plots. “ An Interactive Program for Determining Junction Depths in Diffused Silicon Devices ”, Myers et. al. Übungsunterlagen 2002, Wasserspeicher NOAATech 2004, Silver Spring, MD

Slide 5

Outline SGT Bean plan objectives Demonstration of SGT Bean application. Structural planning Page DataModel PanelModel SGT Bean code cases Time arrangement. Plotting information from a netCDF record. Include matrix plot. Refactor netCDF peruser. Overlay vectors and include printing, PanelModel alter, and so forth. What Next? NOAATech 2004, Silver Spring, MD

Slide 6

Design Goals Create simple to-utilize JavaBeans from the SGT classes. JavaBeans will empower novice and middle of the road engineers a brisk passage into SGT design. SGT Beans will handle most occasions and give instruments to effortlessly modify the plot\'s presence. NOAATech 2004, Silver Spring, MD

Slide 7

SGT Beans Demonstration Start Demonstration NOAATech 2004, Silver Spring, MD

Slide 8

1 DataModel PanelModel Architecture The SGT Beans construction modeling comprises of Page , DataModel , and PanelModel JavaBeans. The DataModel and PanelModel beans give the “state” data important to Page to make a realistic showcase. Page NOAATech 2004, Silver Spring, MD

Slide 9

Page JavaBean Visual JavaBean. Page can be added to any swing holder. Page can have any number of Panel s set inside it. Every Panel gives an autonomous graphical showcase of information from the DataModel . The area and size of the Panel s are determined in the PanelModel . NOAATech 2004, Silver Spring, MD

Slide 10

JPane 1 parts 1..* Layer 2 Panel legendLayer labelLayer DataGroupLayer * Page NOAATech 2004, Silver Spring, MD

Slide 11

PanelModel JavaBean Non-visual JavaBean. PanelModel keeps up: area and size of Panel s on Page AxisGroup s and their positions on a Panel Legend position on a Panel Titles and annotation positions on a Panel NOAATech 2004, Silver Spring, MD

Slide 12

1..* PanelHolder Label Legend * 1..* DataGroup AxisHolder Margin 2 1 PanelModel NOAATech 2004, Silver Spring, MD

Slide 13

DataModel JavaBean Non-visual JavaBean. DataModel utilizes data from the PanelModel to indicate the association in the middle of information and Panel/AxisGroup . Contains the SGTData and Attribute objects. NOAATech 2004, Silver Spring, MD

Slide 14

1..* SGTData DataHolder Attribute 1 PanelHolder 1 DataGroup 1..* Legend * DataModel NOAATech 2004, Silver Spring, MD

Slide 15

SGT Beans Code Examples Example 1 : Time Series Read time arrangement from netCDF document into SimpleLine object. Make diagram utilizing Page , DataModel , and PanelModel . Load PanelModel from SBExample1.xml. Illustration 2 : Add Grid Plot Read lattice from netCDF record into SimpleGrid object. Load PanelModel from SBExample2.xml. Case 3 : Overlay Vectors and Add Interactivity Read vector from netCDF document into SGTVector object. Load PanelModel from SBExample3.xml. Include shading guide Legend . Include printing, class perusing, zoom reset, PanelModel alter. NOAATech 2004, Silver Spring, MD

Slide 16

Example 1: Time Series SBExample1.xml

Slide 17

SBExample1 class NOAATech 2004, Silver Spring, MD

Slide 18

Constuctor NOAATech 2004, Silver Spring, MD

Slide 19

createGraphic() NOAATech 2004, Silver Spring, MD

Slide 20

createGraphic() (cont) NOAATech 2004, Silver Spring, MD

Slide 21

NcSimpleReader1 NOAATech 2004, Silver Spring, MD

Slide 22

getTimeSeries() execution NOAATech 2004, Silver Spring, MD

Slide 23

Set shape and read Array s NOAATech 2004, Silver Spring, MD

Slide 24

Extract variable and pivot values NOAATech 2004, Silver Spring, MD

Slide 25

Parse time units. NOAATech 2004, Silver Spring, MD

Slide 26

Parse time counterbalance, make GeoDateArray NOAATech 2004, Silver Spring, MD

Slide 27

Create SimpleLine and return NOAATech 2004, Silver Spring, MD

Slide 29

Example 2: Add Grid Plot NOAATech 2004, Silver Spring, MD SBExample2.xml

Slide 30

SBExample2 alterations NOAATech 2004, Silver Spring, MD

Slide 31

Add Grid to Page NOAATech 2004, Silver Spring, MD

Slide 32

Add createGridAttribute() NOAATech 2004, Silver Spring, MD

Slide 33

NcSimpleReader2 - Add getGrid() NOAATech 2004, Silver Spring, MD

Slide 34

Get shape and x & y pivot information NOAATech 2004, Silver Spring, MD

Slide 35

Adjust shape and get information network NOAATech 2004, Silver Spring, MD

Slide 36

Create SimpleGrid and return NOAATech 2004, Silver Spring, MD

Slide 37

NOAATech 2004, Silver Spring, MD

Slide 38

Example 3: Overlay Vectors and Add Interactivity NOAATech 2004, Silver Spring, MD SBExample3.xml

Slide 39

SBExample3 changes NOAATech 2004, Silver Spring, MD

Slide 40

Add Grid Legend NOAATech 2004, Silver Spring, MD

Slide 41

Add Printing NOAATech 2004, Silver Spring, MD

Slide 42

Reset Zoom and Open JClassTree NOAATech 2004, Silver Spring, MD

Slide 43

Edit Printer Layout and PanelModel NOAATech 2004, Silver Spring, MD

Slide 44

NcSimpleReader3 - Add getVector() NOAATech 2004, Silver Spring, MD

Slide 45

Modify getGeoDateArray NOAATech 2004, Silver Spring, MD

Slide 46

NOAATech 2004, Silver Spring, MD

Slide 47

What next? Add LayoutManager backing to position Panel s when Page is resized. This obliges making a graphical wizard to set SpringLayout properties. Include Annotation article support. Annotation s incorporate line, oval, point, content, and rectangle objects. Upgrade IDE similarity with well known devices. Keep altering bugs, as they are discovered, and including new helpful elements. NOAATech 2004, Silver Spring, MD

Slide 48

References SGT Beans “Plug and Play Scientific Graphics with SGT”, NOAAResearch WebShop 2003, Longmont, CO SGT landing page ncBrowse “ncBrowse: A Graphical netCDF/OPeNDAP Browser”, 11 th ESIP Technical Meeting - OPeNDAP Session, Boulder, CO ncBrowse landing page OceanShare “Fisheries Oceanography Collaboration Software”, eighteenth AMS International Conference on IIPS, Orlando, FL Collaboration landing page Climate Data Portal Climate Data Portal landing page NOAATech 2004,

Recommended
View more...