ucar.unidata.data.storm
Class StormTrack

java.lang.Object
  extended by ucar.unidata.data.storm.StormTrack

public class StormTrack
extends Object

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


Constructor Summary
StormTrack(StormInfo stormInfo, Way way, DateTime startTime)
          _more_
StormTrack(StormInfo stormInfo, Way way, List<StormTrackPoint> pts)
          _more_
StormTrack(StormInfo stormInfo, Way way, NamedArray lats, NamedArray lons, List<DateTime> times)
          _more_
 
Method Summary
 void addPoint(StormTrackPoint point)
          _more_
 boolean equals(Object o)
          _more_
 float findClosestAttr(float[] trackAttributes, int i)
          _more_
 NamedArray getLats()
          Get the Lats property.
 List<EarthLocation> getLocations()
          _more_
 NamedArray getLons()
          Get the Lons property.
 StormInfo getStormInfo()
          _more_
 List<DateTime> getTimes()
          Get the Times property.
 Real[] getTrackAttributeValues(RealType type)
          _more_
 String getTrackId()
          _more_
 List<StormTrackPoint> getTrackPoints()
          _more_
 DateTime getTrackStartTime()
          _more_
 List<DateTime> getTrackTimes()
          _more_
 List<RealType> getTypes()
          _more_
 Way getWay()
          _more_
 int hashCode()
          _more_
 boolean isObservation()
          _more_
 void setLats(NamedArray value)
          Set the Lats property.
 void setLons(NamedArray value)
          Set the Lons property.
 void setStormInfo(StormInfo stormInfo)
          _more_
 void setTimes(List<DateTime> value)
          Set the Times property.
 void setTrackId(String id)
          _more_
 void setTrackPoints(List<StormTrackPoint> pts)
          _more_
 void setWay(Way way)
          _more_
 String toString()
          _more_
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StormTrack

public StormTrack(StormInfo stormInfo,
                  Way way,
                  NamedArray lats,
                  NamedArray lons,
                  List<DateTime> times)
_more_

Parameters:
stormInfo - _more_
way - _more_
lats - _more_
lons - _more_
times - _more_

StormTrack

public StormTrack(StormInfo stormInfo,
                  Way way,
                  List<StormTrackPoint> pts)
_more_

Parameters:
stormInfo - _more_
way - _more_
pts - _more_

StormTrack

public StormTrack(StormInfo stormInfo,
                  Way way,
                  DateTime startTime)
_more_

Parameters:
stormInfo - _more_
way - _more_
startTime - _more_
Method Detail

addPoint

public void addPoint(StormTrackPoint point)
_more_

Parameters:
point - _more_

isObservation

public boolean isObservation()
_more_

Returns:
_more_

hashCode

public int hashCode()
_more_

Overrides:
hashCode in class Object
Returns:
_more_

setTrackId

public void setTrackId(String id)
_more_

Parameters:
id - _more_

getTrackId

public String getTrackId()
_more_

Returns:
_more_

getTrackStartTime

public DateTime getTrackStartTime()
_more_

Returns:
_more_

setStormInfo

public void setStormInfo(StormInfo stormInfo)
_more_

Parameters:
stormInfo - _more_

getStormInfo

public StormInfo getStormInfo()
_more_

Returns:
_more_

setWay

public void setWay(Way way)
_more_

Parameters:
way - _more_

getWay

public Way getWay()
_more_

Returns:
_more_

setTrackPoints

public void setTrackPoints(List<StormTrackPoint> pts)
_more_

Parameters:
pts - _more_

getTrackPoints

public List<StormTrackPoint> getTrackPoints()
_more_

Returns:
_more_

getTrackTimes

public List<DateTime> getTrackTimes()
_more_

Returns:
_more_

getTypes

public List<RealType> getTypes()
_more_

Returns:
_more_

getLocations

public List<EarthLocation> getLocations()
_more_

Returns:
_more_

getTrackAttributeValues

public Real[] getTrackAttributeValues(RealType type)
_more_

Parameters:
type - _more_
Returns:
_more_

findClosestAttr

public float findClosestAttr(float[] trackAttributes,
                             int i)
_more_

Parameters:
trackAttributes - _more_
i - _more_
Returns:
_more_

toString

public String toString()
_more_

Overrides:
toString in class Object
Returns:
_more_

equals

public boolean equals(Object o)
_more_

Overrides:
equals in class Object
Parameters:
o - _more_
Returns:
_more_

setLats

public void setLats(NamedArray value)
Set the Lats property.

Parameters:
value - The new value for Lats

getLats

public NamedArray getLats()
Get the Lats property.

Returns:
The Lats

setLons

public void setLons(NamedArray value)
Set the Lons property.

Parameters:
value - The new value for Lons

getLons

public NamedArray getLons()
Get the Lons property.

Returns:
The Lons

setTimes

public void setTimes(List<DateTime> value)
Set the Times property.

Parameters:
value - The new value for Times

getTimes

public List<DateTime> getTimes()
Get the Times property.

Returns:
The Times