edu.wisc.ssec.mcidasv.data.cyclone
Class STIStormDataSource

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.data.DataSourceImpl
          extended by edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
              extended by edu.wisc.ssec.mcidasv.data.cyclone.STIStormDataSource
All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable

public class STIStormDataSource
extends StormDataSource

Created by IntelliJ IDEA. User: yuanho Date: Apr 9, 2008 Time: 4:58:27 PM To change this template use File | Settings | File Templates.


Field Summary
private static String COL_DERBY_HOUR
          _more_
private static String COL_DERBY_YEAR
          _more_
private static String COL_DISTANCE_ERROR
          _more_
private static String COL_PROBILITY_FHOUR
          _more_
private static String COL_PROBILITY_P10
          _more_
private static String COL_PROBILITY_P100
          _more_
private static String COL_PROBILITY_P20
          _more_
private static String COL_PROBILITY_P30
          _more_
private static String COL_PROBILITY_P40
          _more_
private static String COL_PROBILITY_P50
          _more_
private static String COL_PROBILITY_P60
          _more_
private static String COL_PROBILITY_P70
          _more_
private static String COL_PROBILITY_P80
          _more_
private static String COL_PROBILITY_P90
          _more_
private static String COL_PROBILITY_REMARK
          _more_
private static String COL_PROBILITY_WAYNAME
          _more_
private static String COL_TYPHOON_DAY
          _more_
private static String COL_TYPHOON_FHOUR
          _more_
private static String COL_TYPHOON_HOUR
          _more_
private static String COL_TYPHOON_LATITUDE
          _more_
private static String COL_TYPHOON_LONGITUDE
          _more_
private static String COL_TYPHOON_MONTH
          _more_
private static String COL_TYPHOON_MOVEDIR
          _more_
private static String COL_TYPHOON_MOVESPEED
          _more_
private static String COL_TYPHOON_PRESSURE
          _more_
private static String COL_TYPHOON_RADIUSMG
          _more_
private static String COL_TYPHOON_RADIUSWG
          _more_
private static String COL_TYPHOON_STORMID
          _more_
private static String COL_TYPHOON_TIME
          _more_
private static String COL_TYPHOON_WAY
          _more_
private static String COL_TYPHOON_WINDSPEED
          _more_
private static String COL_TYPHOON_YEAR
          _more_
private  Connection connection
          the db connection
private  String dbUrl
          _more_
private static String DEFAULT_DERBY_URL
          _more_
private static Way DEFAULT_OBSERVATION_WAY
          _more_
private static String DEFAULT_URL
          _more_
private  String fromDate
          _more_
private static float MISSING
          _more_
static StormParam PARAM_DISTANCE_ERROR
          _more_
static StormParam PARAM_MAXWINDSPEED
          _more_
static StormParam PARAM_MOVEDIRECTION
          _more_
static StormParam PARAM_MOVESPEED
          _more_
static StormParam PARAM_PROBABILITY100RADIUS
          _more_
static StormParam PARAM_PROBABILITY10RADIUS
          _more_
static StormParam PARAM_PROBABILITY20RADIUS
          _more_
static StormParam PARAM_PROBABILITY30RADIUS
          _more_
static StormParam PARAM_PROBABILITY40RADIUS
          _more_
static StormParam PARAM_PROBABILITY50RADIUS
          _more_
static StormParam PARAM_PROBABILITY60RADIUS
          _more_
static StormParam PARAM_PROBABILITY70RADIUS
          _more_
static StormParam PARAM_PROBABILITY80RADIUS
          _more_
static StormParam PARAM_PROBABILITY90RADIUS
          _more_
static StormParam PARAM_PROBABILITYRADIUS
          _more_
static StormParam PARAM_RADIUSMODERATEGALE
          _more_
static StormParam PARAM_RADIUSWHOLEGALE
          _more_
private  List<StormInfo> stormInfos
          the stormInfo and track
private static String TABLE_PROBILITY
          _more_
private static String TABLE_TRACK
          _more_
private  String toDate
          _more_
private  HashMap<String,float[]> wayfhourToRadius
          _more_
private static String ZEROHOUR
          _more_
 
Fields inherited from class edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
ATTR_CATEGORY, CATEGORY_DB, CATEGORY_DS, CATEGORY_ET, CATEGORY_EX, CATEGORY_HU, CATEGORY_IN, CATEGORY_LO, CATEGORY_NAMES, CATEGORY_SD, CATEGORY_SS, CATEGORY_ST, CATEGORY_TC, CATEGORY_TD, CATEGORY_TS, CATEGORY_TY, CATEGORY_VALUES, CATEGORY_WV, CATEGORY_XX, forecastParams, obsParams, PARAM_MAXWINDSPEED_KTS, PARAM_MINPRESSURE, PARAM_STORMCATEGORY
 
Fields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
 
Fields inherited from interface ucar.unidata.data.DataSource
DATAPATH_DATE_FORMAT, DATAPATH_DATE_PATTERN, MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TITLE
 
Constructor Summary
STIStormDataSource()
          constructor of sti storm data source
STIStormDataSource(DataSourceDescriptor descriptor, String url, Hashtable properties)
          _more_
 
Method Summary
private  void addDateSelection(DateTime sTime, List whereList)
          _more_
private  void addProbabilityRadiusAttrs(List<Real> attrs, float[] radiuses)
          _more_
private  Statement evaluate(String sql)
          _more_
private  List<StormInfo> getAllStormInfos()
          _more_
private  String getColHour()
          _more_
private  String getColYear()
          _more_
 Connection getConnection()
          _more_
private  DateTime getDateTime(int year, int month, int day, int hour)
          _more_
 String getDbUrl()
          Get the DbUrl property.
 Way getDefaultObservationWay()
          _more_
private  StormTrack getForecastTrack(StormInfo stormInfo, DateTime sTime, Way forecastWay)
          _more_
private  List<StormTrack> getForecastTracks(StormInfo stormInfo, Way forecastWay)
          _more_
protected  List<DateTime> getForecastTrackStartDates(StormInfo stormInfo, Way way)
          _more_
protected  List<Way> getForecastWays(StormInfo stormInfo)
          _more_
 String getId()
          _more_
 boolean getIsObservationWayChangeable()
          _more_
 double getLatLonValue(double d)
          _more_
protected  StormTrack getObservationTrack(StormInfo stormInfo, Way observationWay)
          _more_
protected  List<StormTrackPoint> getObservationTrack(StormInfo stormInfo, Way wy, DateTime before, DateTime after, List pts)
          _more_
protected  List<StormTrackPoint> getObservationTrackPoints(StormInfo stormInfo, Way wy)
          _more_
private  float[] getProbabilityRadius(Way way, int forecastHour)
          _more_
protected  DateTime getStartTime(List times)
          _more_
 List<StormInfo> getStormInfos()
          _more_
protected  DateTime getStormStartTime(String id)
          _more_
 StormTrackCollection getTrackCollectionInner(StormInfo stormInfo, Hashtable<String,Boolean> waysToUse, Way observationWay)
          _more_
 double getValue(double d, String name)
          If d is a missing value return NaN.
protected  void getWayProbabilityRadius()
          _more_
private  boolean initConnection()
          _more_
protected  void initializeStormData()
          _more_
protected  void initParams()
          _more_
 boolean isEditable()
          _more_
static void main(String[] args)
          _more_
private  void putProbabilityRadius(Way way, int forecastHour, float[] radiuses)
          _more_
 void setDbUrl(String value)
          Set the DbUrl property.
private  boolean useDerby()
          _more_
 
Methods inherited from class edu.wisc.ssec.mcidasv.data.cyclone.StormDataSource
addDistanceError, addWay, canAddCurrentName, difference, doMakeDataChoices, getCategory, getClosestPoint, getClosestPointRange, getDistance, getStormInfo, getTrackCollection, getWay, getWayName, getWays, getWaysName, getYear, initAfter, makeRealType, reloadData
 
Methods inherited from class ucar.unidata.data.DataSourceImpl
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeDateTimes, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, doRemove, endWritingDataToLocalDisk, equals, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataInner, getDataIsEditable, getDataPaths, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getFullDescription, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getLocationsForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfterCreation, initAfterUnpersistence, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFileFromPolling, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, putCache, reloadData, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, updateState, writeFieldMaskFile, writeFieldMaskFile
 
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ucar.unidata.data.DataSource
getUniqueId
 

Field Detail

DEFAULT_OBSERVATION_WAY

private static final Way DEFAULT_OBSERVATION_WAY
_more_


DEFAULT_URL

private static final String DEFAULT_URL
_more_

See Also:
Constant Field Values

DEFAULT_DERBY_URL

private static final String DEFAULT_DERBY_URL
_more_

See Also:
Constant Field Values

COL_DERBY_HOUR

private static final String COL_DERBY_HOUR
_more_

See Also:
Constant Field Values

COL_DERBY_YEAR

private static final String COL_DERBY_YEAR
_more_

See Also:
Constant Field Values

PARAM_MAXWINDSPEED

public static StormParam PARAM_MAXWINDSPEED
_more_


PARAM_RADIUSMODERATEGALE

public static StormParam PARAM_RADIUSMODERATEGALE
_more_


PARAM_RADIUSWHOLEGALE

public static StormParam PARAM_RADIUSWHOLEGALE
_more_


PARAM_PROBABILITY10RADIUS

public static StormParam PARAM_PROBABILITY10RADIUS
_more_


PARAM_PROBABILITY20RADIUS

public static StormParam PARAM_PROBABILITY20RADIUS
_more_


PARAM_PROBABILITY30RADIUS

public static StormParam PARAM_PROBABILITY30RADIUS
_more_


PARAM_PROBABILITY40RADIUS

public static StormParam PARAM_PROBABILITY40RADIUS
_more_


PARAM_PROBABILITY50RADIUS

public static StormParam PARAM_PROBABILITY50RADIUS
_more_


PARAM_PROBABILITY60RADIUS

public static StormParam PARAM_PROBABILITY60RADIUS
_more_


PARAM_PROBABILITY70RADIUS

public static StormParam PARAM_PROBABILITY70RADIUS
_more_


PARAM_PROBABILITY80RADIUS

public static StormParam PARAM_PROBABILITY80RADIUS
_more_


PARAM_PROBABILITY90RADIUS

public static StormParam PARAM_PROBABILITY90RADIUS
_more_


PARAM_DISTANCE_ERROR

public static StormParam PARAM_DISTANCE_ERROR
_more_


PARAM_PROBABILITY100RADIUS

public static StormParam PARAM_PROBABILITY100RADIUS
_more_


PARAM_PROBABILITYRADIUS

public static StormParam PARAM_PROBABILITYRADIUS
_more_


PARAM_MOVEDIRECTION

public static StormParam PARAM_MOVEDIRECTION
_more_


PARAM_MOVESPEED

public static StormParam PARAM_MOVESPEED
_more_


MISSING

private static float MISSING
_more_


ZEROHOUR

private static final String ZEROHOUR
_more_

See Also:
Constant Field Values

TABLE_TRACK

private static final String TABLE_TRACK
_more_

See Also:
Constant Field Values

COL_TYPHOON_YEAR

private static final String COL_TYPHOON_YEAR
_more_

See Also:
Constant Field Values

COL_TYPHOON_HOUR

private static final String COL_TYPHOON_HOUR
_more_

See Also:
Constant Field Values

COL_TYPHOON_STORMID

private static final String COL_TYPHOON_STORMID
_more_

See Also:
Constant Field Values

COL_TYPHOON_TIME

private static final String COL_TYPHOON_TIME
_more_

See Also:
Constant Field Values

COL_TYPHOON_LATITUDE

private static final String COL_TYPHOON_LATITUDE
_more_

See Also:
Constant Field Values

COL_TYPHOON_LONGITUDE

private static final String COL_TYPHOON_LONGITUDE
_more_

See Also:
Constant Field Values

COL_TYPHOON_MONTH

private static final String COL_TYPHOON_MONTH
_more_

See Also:
Constant Field Values

COL_TYPHOON_DAY

private static final String COL_TYPHOON_DAY
_more_

See Also:
Constant Field Values

COL_TYPHOON_FHOUR

private static final String COL_TYPHOON_FHOUR
_more_

See Also:
Constant Field Values

COL_TYPHOON_WAY

private static final String COL_TYPHOON_WAY
_more_

See Also:
Constant Field Values

COL_TYPHOON_PRESSURE

private static final String COL_TYPHOON_PRESSURE
_more_

See Also:
Constant Field Values

COL_TYPHOON_WINDSPEED

private static final String COL_TYPHOON_WINDSPEED
_more_

See Also:
Constant Field Values

COL_TYPHOON_RADIUSMG

private static final String COL_TYPHOON_RADIUSMG
_more_

See Also:
Constant Field Values

COL_TYPHOON_RADIUSWG

private static final String COL_TYPHOON_RADIUSWG
_more_

See Also:
Constant Field Values

COL_TYPHOON_MOVEDIR

private static final String COL_TYPHOON_MOVEDIR
_more_

See Also:
Constant Field Values

COL_TYPHOON_MOVESPEED

private static final String COL_TYPHOON_MOVESPEED
_more_

See Also:
Constant Field Values

TABLE_PROBILITY

private static final String TABLE_PROBILITY
_more_

See Also:
Constant Field Values

COL_PROBILITY_WAYNAME

private static final String COL_PROBILITY_WAYNAME
_more_

See Also:
Constant Field Values

COL_PROBILITY_FHOUR

private static final String COL_PROBILITY_FHOUR
_more_

See Also:
Constant Field Values

COL_PROBILITY_P10

private static final String COL_PROBILITY_P10
_more_

See Also:
Constant Field Values

COL_PROBILITY_P20

private static final String COL_PROBILITY_P20
_more_

See Also:
Constant Field Values

COL_PROBILITY_P30

private static final String COL_PROBILITY_P30
_more_

See Also:
Constant Field Values

COL_PROBILITY_P40

private static final String COL_PROBILITY_P40
_more_

See Also:
Constant Field Values

COL_PROBILITY_P50

private static final String COL_PROBILITY_P50
_more_

See Also:
Constant Field Values

COL_PROBILITY_P60

private static final String COL_PROBILITY_P60
_more_

See Also:
Constant Field Values

COL_PROBILITY_P70

private static final String COL_PROBILITY_P70
_more_

See Also:
Constant Field Values

COL_PROBILITY_P80

private static final String COL_PROBILITY_P80
_more_

See Also:
Constant Field Values

COL_PROBILITY_P90

private static final String COL_PROBILITY_P90
_more_

See Also:
Constant Field Values

COL_PROBILITY_P100

private static final String COL_PROBILITY_P100
_more_

See Also:
Constant Field Values

COL_DISTANCE_ERROR

private static final String COL_DISTANCE_ERROR
_more_

See Also:
Constant Field Values

COL_PROBILITY_REMARK

private static final String COL_PROBILITY_REMARK
_more_

See Also:
Constant Field Values

dbUrl

private String dbUrl
_more_


connection

private Connection connection
the db connection


fromDate

private String fromDate
_more_


toDate

private String toDate
_more_


stormInfos

private List<StormInfo> stormInfos
the stormInfo and track


wayfhourToRadius

private HashMap<String,float[]> wayfhourToRadius
_more_

Constructor Detail

STIStormDataSource

public STIStormDataSource()
                   throws Exception
constructor of sti storm data source

Throws:
Exception - _more_

STIStormDataSource

public STIStormDataSource(DataSourceDescriptor descriptor,
                          String url,
                          Hashtable properties)
                   throws Exception
_more_

Parameters:
descriptor - _more_
url - _more_
properties - _more_
Throws:
Exception - _more_
Method Detail

useDerby

private boolean useDerby()
_more_

Returns:
_more_

getId

public String getId()
_more_

Specified by:
getId in class StormDataSource
Returns:
_more_

getColHour

private String getColHour()
_more_

Returns:
_more_

getColYear

private String getColYear()
_more_

Returns:
_more_

isEditable

public boolean isEditable()
_more_

Overrides:
isEditable in class StormDataSource
Returns:
_more_

initParams

protected void initParams()
                   throws VisADException
_more_

Overrides:
initParams in class StormDataSource
Throws:
VisADException - _more_

initializeStormData

protected void initializeStormData()
_more_

Overrides:
initializeStormData in class StormDataSource

getStormInfos

public List<StormInfo> getStormInfos()
_more_

Specified by:
getStormInfos in class StormDataSource
Returns:
_more_

getTrackCollectionInner

public StormTrackCollection getTrackCollectionInner(StormInfo stormInfo,
                                                    Hashtable<String,Boolean> waysToUse,
                                                    Way observationWay)
                                             throws Exception
_more_

Specified by:
getTrackCollectionInner in class StormDataSource
Parameters:
stormInfo - _more_
waysToUse - _more_
observationWay - _more_
Returns:
_more_
Throws:
Exception - _more_

getForecastTracks

private List<StormTrack> getForecastTracks(StormInfo stormInfo,
                                           Way forecastWay)
                                    throws Exception
_more_

Parameters:
stormInfo - _more_
forecastWay - _more_
Returns:
_more_
Throws:
Exception - _more_

getValue

public double getValue(double d,
                       String name)
If d is a missing value return NaN. Else return d

Parameters:
d - is checked if not missing return same value
name - _more_
Returns:
_more_

getLatLonValue

public double getLatLonValue(double d)
_more_

Parameters:
d - _more_
Returns:
_more_

getForecastTrack

private StormTrack getForecastTrack(StormInfo stormInfo,
                                    DateTime sTime,
                                    Way forecastWay)
                             throws Exception
_more_

Parameters:
stormInfo - _more_
sTime - _more_
forecastWay - _more_
Returns:
_more_
Throws:
Exception - _more_

getProbabilityRadius

private float[] getProbabilityRadius(Way way,
                                     int forecastHour)
_more_

Parameters:
way - _more_
forecastHour - _more_
Returns:
_more_

putProbabilityRadius

private void putProbabilityRadius(Way way,
                                  int forecastHour,
                                  float[] radiuses)
_more_

Parameters:
way - _more_
forecastHour - _more_
radiuses - _more_

addProbabilityRadiusAttrs

private void addProbabilityRadiusAttrs(List<Real> attrs,
                                       float[] radiuses)
                                throws Exception
_more_

Parameters:
attrs - _more_
radiuses - _more_
Throws:
Exception - _more_

addDateSelection

private void addDateSelection(DateTime sTime,
                              List whereList)
                       throws VisADException
_more_

Parameters:
sTime - _more_
whereList - _more_
Throws:
VisADException - _more_

getDateTime

private DateTime getDateTime(int year,
                             int month,
                             int day,
                             int hour)
                      throws Exception
_more_

Parameters:
year - _more_
month - _more_
day - _more_
hour - _more_
Returns:
_more_
Throws:
Exception - _more_

getForecastTrackStartDates

protected List<DateTime> getForecastTrackStartDates(StormInfo stormInfo,
                                                    Way way)
                                             throws Exception
_more_

Parameters:
stormInfo - _more_
way - _more_
Returns:
_more_
Throws:
Exception - _more_

getWayProbabilityRadius

protected void getWayProbabilityRadius()
                                throws Exception
_more_

Throws:
Exception - _more_

getObservationTrack

protected StormTrack getObservationTrack(StormInfo stormInfo,
                                         Way observationWay)
                                  throws Exception
_more_

Parameters:
stormInfo - _more_
observationWay - _more_
Returns:
_more_
Throws:
Exception - _more_

getIsObservationWayChangeable

public boolean getIsObservationWayChangeable()
_more_

Overrides:
getIsObservationWayChangeable in class StormDataSource
Returns:
_more_

getDefaultObservationWay

public Way getDefaultObservationWay()
_more_

Overrides:
getDefaultObservationWay in class StormDataSource
Returns:
_more_

getObservationTrackPoints

protected List<StormTrackPoint> getObservationTrackPoints(StormInfo stormInfo,
                                                          Way wy)
                                                   throws Exception
_more_

Parameters:
stormInfo - _more_
wy - _more_
Returns:
_more_
Throws:
Exception - _more_

getObservationTrack

protected List<StormTrackPoint> getObservationTrack(StormInfo stormInfo,
                                                    Way wy,
                                                    DateTime before,
                                                    DateTime after,
                                                    List pts)
                                             throws Exception
_more_

Parameters:
stormInfo - _more_
wy - _more_
before - _more_
after - _more_
pts - _more_
Returns:
_more_
Throws:
Exception - _more_

getStartTime

protected DateTime getStartTime(List times)
_more_

Parameters:
times - _more_
Returns:
_more_

getAllStormInfos

private List<StormInfo> getAllStormInfos()
                                  throws Exception
_more_

Returns:
_more_
Throws:
Exception - _more_

getStormStartTime

protected DateTime getStormStartTime(String id)
                              throws Exception
_more_

Parameters:
id - _more_
Returns:
_more_
Throws:
Exception - _more_

getForecastWays

protected List<Way> getForecastWays(StormInfo stormInfo)
                             throws Exception
_more_

Parameters:
stormInfo - _more_
Returns:
_more_
Throws:
Exception - _more_

evaluate

private Statement evaluate(String sql)
                    throws SQLException
_more_

Parameters:
sql - _more_
Returns:
_more_
Throws:
SQLException - _more_

getConnection

public Connection getConnection()
_more_

Returns:
_more_

initConnection

private boolean initConnection()
                        throws Exception
_more_

Returns:
_more_
Throws:
Exception - _more_

main

public static void main(String[] args)
                 throws Exception
_more_

Parameters:
args - _more_
Throws:
Exception - _more_

setDbUrl

public void setDbUrl(String value)
Set the DbUrl property.

Parameters:
value - The new value for DbUrl

getDbUrl

public String getDbUrl()
Get the DbUrl property.

Returns:
The DbUrl