Package ucar.unidata.data.sounding
Class CdmTrackInfo
java.lang.Object
ucar.unidata.data.sounding.TrackInfo
ucar.unidata.data.sounding.CdmTrackInfo
Class TrackInfo Provides access to a track or trajectory
- Version:
- $Revision: 1.8 $
- Author:
- IDV Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Fixed var name for altstatic final String
Fixed var name for latstatic final String
Fixed var name for lonstatic final String
Fixed var name for timeFields 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
-
Constructor Summary
ConstructorsConstructorDescriptionCdmTrackInfo
(TrackAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint tod, ucar.nc2.ft.TrajectoryFeature todt) ctor -
Method Summary
Modifier and TypeMethodDescriptionprotected float[]
getAltitude
(ucar.ma2.Range range) get altitude valuesprotected ucar.ma2.Range
Get the full range.protected double[]
getDoubleData
(ucar.ma2.Range range, String var) _more_Get the ending time of this track.protected float[]
getFloatData
(ucar.ma2.Range range, String var) Get the data values for the range.int
Get number of points in trackgetPointObTrack
(ucar.ma2.Range range) Take a FlatField of data and turn it into a field of PointObs.Get the starting time of this track.protected String[]
getStringData
(ucar.ma2.Range range, String var) Get the string values for the varprotected double[]
getTime
(ucar.ma2.Range range) Get the time for each ob.protected Unit
A utility to get the time unitucar.nc2.ft.TrajectoryFeature
getTodt()
Get TrajectoryObsDatatypestatic float[]
qcLatLon
(float[] v) _more_Methods inherited from class ucar.unidata.data.sounding.TrackInfo
addVariable, addVariableData, countReals, getAerologicalDiagramData, getDataVariable, getFloatData, getFullRange, getLatitude, getLongitude, getSpatialSet, getStringData, getTimeVals, getTrack, getTrackName, getTrackWithTime, getVariableData, getVariables, getVarsToUse, getVarType, getVarType, includeInPointData, makeEarthDomainSet, makeRAOB, setCoordinateVars
-
Field Details
-
VAR_LATITUDE
Fixed var name for lat- See Also:
-
VAR_LONGITUDE
Fixed var name for lon- See Also:
-
VAR_ALTITUDE
Fixed var name for alt- See Also:
-
VAR_TIME
Fixed var name for time- See Also:
-
-
Constructor Details
-
CdmTrackInfo
public CdmTrackInfo(TrackAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint tod, ucar.nc2.ft.TrajectoryFeature todt) throws Exception ctor- Parameters:
adapter
- The adaptertod
- todtodt
- todt- Throws:
Exception
- On badness
-
-
Method Details
-
getStartTime
Description copied from class:TrackInfo
Get the starting time of this track.- Overrides:
getStartTime
in classTrackInfo
- Returns:
- starting time
-
getEndTime
Get the ending time of this track.- Overrides:
getEndTime
in classTrackInfo
- Returns:
- ending time
-
getTodt
public ucar.nc2.ft.TrajectoryFeature getTodt()Get TrajectoryObsDatatype- Returns:
- the TrajectoryObsDatatype
-
getNumberPoints
public int getNumberPoints()Get number of points in track- Overrides:
getNumberPoints
in classTrackInfo
- Returns:
- number of points
-
getDataRange
Get the full range. Include the stride- Overrides:
getDataRange
in classTrackInfo
- Returns:
- The range
- Throws:
Exception
- On badness
-
getTimeUnit
A utility to get the time unit- Overrides:
getTimeUnit
in classTrackInfo
- Returns:
- The time unit
- Throws:
Exception
- On badness
-
getTime
Get the time for each ob. May be subset by range. -
qcLatLon
public static float[] qcLatLon(float[] v) _more_- Parameters:
v
- _more_- Returns:
- _more_
-
getFloatData
Get the data values for the range.- Specified by:
getFloatData
in classTrackInfo
- Parameters:
range
- subset. May be nullvar
- The variable- Returns:
- values
- Throws:
Exception
- On badness
-
getDoubleData
_more_- Overrides:
getDoubleData
in classTrackInfo
- Parameters:
range
- _more_var
- _more_- Returns:
- _more_
- Throws:
Exception
- _more_
-
getStringData
Get the string values for the var- Specified by:
getStringData
in classTrackInfo
- Parameters:
range
- subset. May be null.var
- The var- Returns:
- string values
- Throws:
Exception
- On badness
-
getAltitude
get altitude values- Overrides:
getAltitude
in classTrackInfo
- Parameters:
range
- subset on range. May be null- Returns:
- altitude values
- Throws:
Exception
- On badness
-
getPointObTrack
Take a FlatField of data and turn it into a field of PointObs.- Overrides:
getPointObTrack
in classTrackInfo
- Parameters:
range
- The data range of the request- Returns:
- field of PointObs
- Throws:
Exception
- On badness
-