ucar.unidata.data.sounding
Class CosmicTrajectoryFeatureTypeInfo

java.lang.Object
  extended by ucar.unidata.data.sounding.TrackInfo
      extended by ucar.unidata.data.sounding.CosmicTrajectoryFeatureTypeInfo

public class CosmicTrajectoryFeatureTypeInfo
extends TrackInfo

Created by IntelliJ IDEA. User: yuanho Date: Sep 23, 2009 Time: 12:46:01 PM To change this template use File | Settings | File Templates.


Field Summary
static String VAR_ALTITUDE
          Fixed var name for alt
static String VAR_LATITUDE
          Fixed var name for lat
static String VAR_LONGITUDE
          Fixed var name for lon
static String VAR_TIME
          Fixed var name for time
 
Fields inherited from class ucar.unidata.data.sounding.TrackInfo
adapter, ALT_TYPE, cachedTimeVals, lastSpatialSetRange, LAT_TYPE, llaSet, LON_TYPE, TIME_TYPE, trackName, varAltitude, variables, varLatitude, varLongitude, varTime, workBearing
 
Constructor Summary
CosmicTrajectoryFeatureTypeInfo(TrackAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint fd, ucar.nc2.ft.TrajectoryFeatureCollection tfc)
          ctor
 
Method Summary
 Data getAerologicalDiagramData()
          get the data
 Data[] getAerologicalDiagramDataArray()
          get the data
protected  ucar.ma2.Range getDataRange()
          Get the full range.
 float getDewpoint(float temp, float vp)
          _more_
protected  float[] getDewPointFloatData(ucar.ma2.Range range)
          _more_
 double[] getDoubleData(ucar.ma2.Range range, String var)
          _more_
 float[] getFloatData(ucar.ma2.Range range, String var)
          Get the data values for the range.
 NamedLocationTuple getLatLonPoint()
          _more_
 int getNumberPoints()
          Get number of points in track
 FieldImpl getPointObTrack(ucar.ma2.Range range)
          Take a FlatField of data and turn it into a field of PointObs.
 String[] getStringData(ucar.ma2.Range range, String var)
          Get the string values for the var
protected  double[] getTime(ucar.ma2.Range range)
          Get the time for each ob.
protected  Unit getTimeUnit()
          A utility to get the time unit
static float[] qcLatLon(float[] v)
          _more_
 
Methods inherited from class ucar.unidata.data.sounding.TrackInfo
addVariable, countReals, getAltitude, getDataVariable, getEndTime, getFloatData, getFullRange, getLatitude, getLongitude, getSpatialSet, getStartTime, getStringData, getTimeVals, getTrack, getTrackName, getTrackWithTime, getVariables, getVarsToUse, getVarType, getVarType, includeInPointData, makeEarthDomainSet, makeRAOB, setCoordinateVars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VAR_LATITUDE

public static final String VAR_LATITUDE
Fixed var name for lat

See Also:
Constant Field Values

VAR_LONGITUDE

public static final String VAR_LONGITUDE
Fixed var name for lon

See Also:
Constant Field Values

VAR_ALTITUDE

public static final String VAR_ALTITUDE
Fixed var name for alt

See Also:
Constant Field Values

VAR_TIME

public static final String VAR_TIME
Fixed var name for time

See Also:
Constant Field Values
Constructor Detail

CosmicTrajectoryFeatureTypeInfo

public CosmicTrajectoryFeatureTypeInfo(TrackAdapter adapter,
                                       ucar.nc2.ft.FeatureDatasetPoint fd,
                                       ucar.nc2.ft.TrajectoryFeatureCollection tfc)
                                throws Exception
ctor

Parameters:
adapter - The adapter
fd - _more_
tfc -
Throws:
Exception - On badness
Method Detail

getNumberPoints

public int getNumberPoints()
Get number of points in track

Overrides:
getNumberPoints in class TrackInfo
Returns:
number of points

getLatLonPoint

public NamedLocationTuple getLatLonPoint()
                                  throws Exception
_more_

Returns:
_more_
Throws:
Exception - _more_

getDataRange

protected ucar.ma2.Range getDataRange()
                               throws Exception
Get the full range. Include the stride

Overrides:
getDataRange in class TrackInfo
Returns:
The range
Throws:
Exception - On badness

getTimeUnit

protected Unit getTimeUnit()
                    throws Exception
A utility to get the time unit

Overrides:
getTimeUnit in class TrackInfo
Returns:
The time unit
Throws:
Exception - On badness

getTime

protected double[] getTime(ucar.ma2.Range range)
                    throws Exception
Get the time for each ob. May be subset by range.

Overrides:
getTime in class TrackInfo
Parameters:
range - Subset on range. May be null
Returns:
time values
Throws:
Exception - On badness

qcLatLon

public static float[] qcLatLon(float[] v)
_more_

Parameters:
v - _more_
Returns:
_more_

getFloatData

public float[] getFloatData(ucar.ma2.Range range,
                            String var)
                     throws Exception
Get the data values for the range.

Specified by:
getFloatData in class TrackInfo
Parameters:
range - subset. May be null
var - The variable
Returns:
values
Throws:
Exception - On badness

getDoubleData

public double[] getDoubleData(ucar.ma2.Range range,
                              String var)
                       throws Exception
_more_

Overrides:
getDoubleData in class TrackInfo
Parameters:
range - _more_
var - _more_
Returns:
_more_
Throws:
Exception - _more_

getStringData

public String[] getStringData(ucar.ma2.Range range,
                              String var)
                       throws Exception
Get the string values for the var

Specified by:
getStringData in class TrackInfo
Parameters:
range - subset. May be null.
var - The var
Returns:
string values
Throws:
Exception - On badness

getPointObTrack

public FieldImpl getPointObTrack(ucar.ma2.Range range)
                          throws Exception
Take a FlatField of data and turn it into a field of PointObs.

Overrides:
getPointObTrack in class TrackInfo
Parameters:
range - The data range of the request
Returns:
field of PointObs
Throws:
Exception - On badness

getAerologicalDiagramData

public Data getAerologicalDiagramData()
                               throws Exception
Description copied from class: TrackInfo
get the data

Overrides:
getAerologicalDiagramData in class TrackInfo
Returns:
the data
Throws:
Exception - On badness

getAerologicalDiagramDataArray

public Data[] getAerologicalDiagramDataArray()
                                      throws Exception
get the data

Returns:
the data
Throws:
Exception - On badness

getDewPointFloatData

protected float[] getDewPointFloatData(ucar.ma2.Range range)
                                throws Exception
_more_

Parameters:
range - _more_
Returns:
_more_
Throws:
Exception - _more_

getDewpoint

public float getDewpoint(float temp,
                         float vp)
_more_

Parameters:
temp - _more_
vp - _more_
Returns:
_more_