Skip to content
Liz Adams edited this page Dec 3, 2015 · 21 revisions

Directory structure and VERDI source code filenames for code that references openmap. (Note Jo-Ellen was trying to remove all calls to openmap, and wanted to switch to using geotools)

 verdi_core
   `-- src
        `-- anl
             `-- verdi
                  `-- plot
                      `-- config
                          `-- PlotConfiguration.java
        `-- com
             `-- bbn
                  `-- openmap
                      `-- util
                          `-- DeepCopyUtil.java
        `-- gov
            `-- epa
                `-- emvl
                    `-- GridShapefileWriter.java

Directory structure of VERDI source code for code that references geotools.
http://www.geotools.org/

 verdi_core
   `-- src
        `-- anl
             `-- verdi
                  `--area
                     `--target
                        `--GridInfo.java
                        `--ProjectionInfo.java
                        `--ShapeFileTableExporter.java
                        `--Target.java
                     `--AreaFilePanel.java
                  `-- commandline
                  `-- core
                       `-- VerdiAppConfigurator.java
                       `-- VerdiApplication.java
                  `-- data
                       `-- Axes.java
                       `-- BoundingBoxer.java
                       `-- ExtendAxes.java
                  `-- formula
                  `-- gis
                      `-- AddLayerWizard.java
                      `-- AddLayerWizardModel.java
                      `-- FastTileAddLayerWizard.java
                      `-- FastTileAddLayerWizardModel.java
                      `-- FastTileEditorStep.java
                      `-- FastTileLayerEditor.java
                      `-- FastTileLayerPanel.java
                      `-- FileSelectionStep.java
                      `-- LayerEditorPanel.java
                  `-- gui
                      `--DataSetPanel.java
                      `--DomainPanel.java
                      `--VerdiListPanel.java
                  `-- parser
                  `-- plot
                      `-- anim
                         `--AnimationPanel.java
                         `--AnimationPanelContour3D.java
                      `-- color
                         `--Palette.java
                         `--PalettePanel.java
                         `--PaletteSelectionPanel.java
                      `-- config
                      `-- data
                      `-- gui
                         `--ChartTitlesPanel.java
                         `--FastTilePlot.java
                         `--MapAnnotation.java
                         `--ObsAnnotation.java
                         `--VerdiBoundaries.java
                         `--VerdiStyle.java
                      `-- io
                      `-- jfree
                      `-- probe
                      `-- types
                         `--AbstractPlot.java
                         `--AbstractTilePlot.java
                         `--Contour3D.java
                      `-- util
                         `--LegendPanel.java
                   `-- util

Investigating the code within VERDI that creates the Titles, Legend, Tick Marks, and the Plot Area
Notes from 12/03/2015
AbstractTilePlot.java calls LegendAxis.java

 verdi_core
   `-- src
        `-- anl
             `-- verdi
                 `--plot
                    `--types
                        `--LegendAxis.java - builds legend <br>

toolBar.add(panel) build up time panel, animate panel - all get added into ?,
which gets added to Toolbar, which is a JToolBar

 verdi_core
   `-- src
        `-- anl
             `-- verdi
                 `--plot
                     `--gui
                        `--PlotPanel.java <br>

PlotPanel.java contains:

  • menu bar with File, Configure, etc

  • Tool Bar with Timesteps

    verdi_core -- src -- anl -- verdi --plot --gui --FootersPanel.java calls LegendPanel


verdi_core `-- src `-- anl `-- verdi `--plot `--util `--LegendPanel.java - at the bottom of this is a unit test that we need to check

LegendAxis - scale Axis is a LegendAxis

LabelsPanel.java calls FootersPanel.java
FootersPanel.java --> footer1 footer2 obs
PlotPanel.java --> menubar toolbar

 verdi_core
   `-- src
        `-- anl
             `-- verdi
                 `--plot
                    `--gui
                        `--ChartTitlesPanel.java calls FillConfigurator.java <br>

ChartTitlesPanel.java contains Subtitle1 Subtitle2
VerdiTileChartPanel extends VerdiChartPanel
plot.getRenderer() instance of XYBlockRenderer
XYPlot plot = (XYPLOT) chart.getPlot();
XYItemRenderer
XYBlockRenderer

anl.verdi.plot.jfree/ChartPanel.java (right click to zoom out, etc)
plot = chart.getPlot() org.jfreechart.plot.plot
dataArea = info.getPlotInfo().getDataArea()

 verdi_core
   `-- src
        `-- anl
             `-- verdi
                 `--plot
                    `--types
                       `--TilePlot.java - translation between screen space and geographic space for the tiles <br>

Rectangle2D dataArea <-- what we need to use for our data space
need to keep it in geographic coordinates
getScreenCoordForAxis
getAxisCordforMouse
createchart XYZDataset <-- how did they build it from the netCDF file?
XYPlot = XYPlot(dataset, xAxis, Yaxis, renderer)
chart = new JFreeChart
chart.removeLegend() <-- took off JFreeChart Legend
chart.setBackgroundPaint.white

TilePlot calls AbstractTilePlot.java to create subTitles and to update Scale Axis
JFreeChart create chart (XYZ Dataset data?)

Clone this wiki locally