Skip to content
lizadams edited this page Aug 21, 2015 · 42 revisions

Links to JavaDocs for code that controls each of these components within VERDI:

Main Window Menu Options - all the following options are controlled by the (plugin.xml)

 File
   `-- Open Project
   `-- Save Project
   `-- View Script Editor
   `-- Exit
 Plots
    `-- Undock all plots
    `-- Animate Tile Plots
 Window
    `-- Datasets
    `-- Areas
    `-- Formulas
    `-- Script Editor (if View Script Editor has been activated)
    `--  List of Plots (if plots have been created)
 Help
    `--Search
    `--VERDI Help Docs
    `--About

All Panes within VERDI can be resized, closed or externalized
using the package (saf.core.ui.actions)

 Pane
 --Minimize this view
 --Float or Externalize View 
 --Maximize this view
 --Close this view

Dataset Panel is controlled by the (DataSetPanel)

 Dataset Panel
 --Add local dataset
 --Remove local dataset
 --Add remote dataset
     -- Remote File Access
 --Variables List
    -- Action: Double click to add the variable as a formula

Time Steps are controlled by the (TimePanel)

 Time Steps Panel
 --Use Time Range Checkbox
   --Min Spinner
   --Max Spinner

Layers Panels(LayerPanel)

 Layers Panel
 --Use Layer Range Checkbox
    -- Min Spinner
    -- Max Spinner

Domain Panel (DomainPanel)

 Domain Panel
 --Edit 
 --Metadata textbox view

Formulas Panel(FormulaPanel)

 Formula Panel
 --Delete Formula
 --Text Box, Add
 --Display Selected Formula in upper right hand side of VERDI Plot Window

Area Panel(AreaFilePanel)

 Areas
 --Add Area File
    --Open Area File: File
        --Open Area File: Coordinates
            --Please select the name field
 --Delete Area File (note this doesn't seem to work)

Adding and Removing an Area File
(VerdiApplication) under: anl.verdi.core.VerdiApplication.loadAreaFile(File[])
Areas List

Creating Plots(PlotFactory)

Fast Tile Plot(FastTilePlot)

 Plot Menu Options
 --File
    --Print
    --Export as Image
 --Configure
    --Configure Plot
    --Load Configuration
    --Save Configuration
 --Controls
    --Zoom
    --Probe
    --Set Row and Column Ranges
    --Show Gridlines
    --Show Lat/Lon
 --Plot
    --Time Series of Probed Cells (Greyed out unless Probed Region is selected)
    --Time Series Bar of Probed Cells (Greyed out unless Probe Region is selected)
    --Time Series of Min Cells
    --Time Series of Max Cells
    --Animate Plot
    --Add Overlay
  --GIS Layers
    --Add Map Layers
    --Configure GIS Layers
    --Set Current Maps as Plot Default (currently greyed out)

 Plot GUI User Actions
 --Time Step Spinner
 --Layer Spinner
 --Stats Pull-down Menu for Grid Cell Time Aggregate Statistics
 --Animation
   --Move one timestep to left
   --Move one timestep to right
   --Play/Stop
   --Text box to set animation delay in ms

 Right Click Mouse Options
   --Properties...
   --Save Image As...
   --Print...
   --Zoom_In
   --Zoom_Out
   --Max_Zoom_Out

Areal Interpolation Plot(FastAreaTilePlot)

 Areal Values for Polygon Segment
 File
 (Same Pull Down Menu Option for File as Fast Tile Plot with this added:)
 --Export Areal Plot Data to Shapefiles
 (Same Plot Menu Options as Fast Tile Plot with this added:)
 --Options
   --Show Area Averages
   --Show Area Totals
   --Show Gridded Data
   --Selected Areas
   --All Areas
 (Same Right Click Options as Fast Tile Plot with this added:)
 --Right Click Action on Plot
    --Area Information
       --View Area Values for the Selected Formulas
          --Save as spreadsheet

Vertical Cross Section Plot

 Vertical Cross Section Pop-up Menu
 --Text Box Vertical Cross Section
 --Select Cross Section
   --Toggle on/off X-Axis Cross Section
     --Select Column Spinner
   --Toggle on/off Y-Axis Cross Section
     --Select Row Spinner
 --OK or Cancel Button

Time Series Plot(TimeSeriesPlotRequest)

Time Series Bar Plot(TimeSeriesBarPlot)

Scatter Plot(ScatterPlot)

Contour Plot(ContourPlot3D)

Plot Menu Bar(PlotUtil)
Plot Menu Bar options all called from: anl.verdi.plot.gui.FastTilePlot.getMenuBar()
File Menu
Print(PlotPrintAction)
Export as image(PlotExporterAction)

Configure Menu

Configure Plot
from anl.verdi.plot.gui.FastTilePlot.editChartProperties()
or from other plots it is from anl.verdi.plot.types.AbstractPlot.VerdiChartPanel.doEditChartProperties()
Titles(ChartTitlesPanel)
Color Map(Color Package)
Still not sure what causes the Fast Tile Plot to create the Color Map tab, while the other plots omit this.
Here is a java tutorial on how to create a tabbed pane.
Labels Other (tabbedpane)
Save Configuration
Load Configuration

Controls Menu(FastAreaTilePlot)
Zoom
Probe
Probe at a Single Point
Probing a Domain Region of Data
Set Row and Column Ranges
anl.verdi.plot.gui.FastTilePlot.DataRangeDialog.createMiddlePanel()
Show Grid Lines
Show Latitude and Longitude

Plot Menu Options
Time Series Plots
Animate Plots
Add Overlays
Observational Data Overlays
https://rawgit.com/CEMPD/VERDI/master/verdi_core/doc/anl/verdi/core/VerdiApplication.html Vector Overlays

GIS Layers
Add Map Layers
Configure GIS Layers

Supported Grid and Coordinate Systems (Map Projections)

I/O API-formatted Data
CAMx Gridded Data

I/O API Utilities, Data Conversion Programs, and Libraries

Mathematical Functions
Unary Functions
Binary Operators
Boolean Operators

VERDI Batch Script Editor

Specify hour/time step formula in batch script mode

Mathematical function capability in batch script mode

Areal Interpolation Calculations

I/O Service Provider (IOSP) Interface for CAMx:Incorporating the IOSP into netcdf-java Library

Directory Structure for verdi_core/src/anl/verdi/plot/
       `-- plot
          `--anim
          `--color
          `--config
          `--data
          `--gui
             |-- FastTilePlot.java 
             |-- ObsOverlayDialog.java
             |-- PlotFactory.java
             |-- ScatterPlotCreator.java
             |-- TimeSeriesPlotRequest.java
             |-- ( 46 different programs under this directory)
               `-- action
                    |-- ArealInterpolation.java (calculates areas)
                    |-- Contour3DPlot.java
          `--io
          `--jfree
          `--probe
          `--types
                    |-- AbstractPlot.java
                    |-- AbstractTilePlot.java
                    |-- AxisNumberFormatter.java
                    |-- Contour3D.java
                    |-- JChartTitlesLabels.java
                    |-- LegendAxis.java
                    |-- LinePlot.java
                    |-- PlotType.java
                    |-- ScatterPlot.java
                    |-- TilePlot.java
                    |-- TilePlotConfigurationIO.java
                    |-- TimeAnimatablePlot.java
                    |-- TimeSeriesBarPlot.java
                    |-- VectorPlot.java
                    |-- VerticalCrossSectionPlot.java
          `--util

Files under verdi_core/src/anl/verdi/util
|--  AliasGenerator.java		
|--  DoubleFunction.java		
|--  Tools.java			    
|--  VerdiFileNameFilter.java
|--  ArrayFactory.java		
|--  FocusClickFix.java		
|--  UnsupportedUnitException.java	
|--  VersionInfo.java
|--  BinaryDoubleFunction.java	
|--  FormulaArray.java		
|--  Utilities.java			
|--  WriteVersionInfo.java
|--  CompatibilityChecker.java	
|--  ObsTimeChecker.java		
|--  VUnits.java
|--  DateRange.java			
|--  Save2Ascii.java			
|--  VectorOverlayTimeChecker.java

Files under verdi_core/src/anl/verdi/gui
|--  AboutDialog.java		
|--  DomainPanel.java		
|-- FormulasPanel.java		
|-- OKWindow.java
|-- AbstractListElement.java	
|-- ExtendedDialog.java		
|-- GridNodeListener.java		
|-- PGridNode.java
|-- AddFormulaPanel.java		
|-- ExtendedOptionPane.java		
|-- HelpDialog.java			
|-- RowHeader.java
|-- DataSetPanel.java		
|-- FormulaEditor.java		
|-- HelpWindowWithContents.java	
|-- RowHeaderModel.java
|-- DatasetListElement.java		
|-- FormulaElementCreator.java	
|-- LayerPanel.java			
|-- ScriptPanel.java
|-- DatasetListModel.java		
|-- FormulaListElement.java		
|-- ModelFileCard.java		
|-- TimePanel.java
|-- DatasetModelListener.java	
|-- FormulaListModel.java		
|-- OKCancelWindow.java		
|-- VerdiListPanel.java

Clone this wiki locally