Package ucar.unidata.data.sounding
Class CDMTrajectoryFeatureTypeInfo
java.lang.Object
ucar.unidata.data.sounding.TrackInfo
ucar.unidata.data.sounding.CDMTrajectoryFeatureTypeInfo
- Direct Known Subclasses:
CDMTrajectoryFeatureTypeInfo.PointFeatureTypeInfo,CDMTrajectoryFeatureTypeInfo.TrajectoryFeatureTypeInfo
The Class CDMTrajectoryFeatureTypeInfo.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classThe Class PointFeatureTypeInfo.static classThe Class StationBean.static classThe Class TrajectoryFeatureBean.static classThe Class TrajectoryFeatureTypeInfo. -
Field Summary
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 -
Constructor Summary
ConstructorsConstructorDescriptionCDMTrajectoryFeatureTypeInfo(TrajectoryFeatureTypeAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint dataset, ucar.nc2.ft.DsgFeatureCollection fc) Instantiates a new CDM trajectory feature type info. -
Method Summary
Modifier and TypeMethodDescriptionprotected float[]getAltitude(ucar.ma2.Range range) get altitude valuesprotected ucar.ma2.RangeGet the full range.double[]getDoubleData(ucar.ma2.Range range, String var) _more_Get the ending time of this track.float[]getFloatData(ucar.ma2.Range range, String var) Get the data values for the range.protected float[]getLatitude(ucar.ma2.Range range) Get latitude valuesprotected float[]getLongitude(ucar.ma2.Range range) get longitude valuesintGet number of points in track.getPointObTrack(ucar.ma2.Range range) Take a FlatField of data and turn it into a field of PointObs.Get the starting time of this track.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 UnitWhat is the time unitdouble[]getTimeVals(ucar.ma2.Range range) Get the time values for the rangeprotected voidInit method.initHelper(ucar.nc2.ft.DsgFeatureCollection fc) Helps init method get observationsMethods inherited from class ucar.unidata.data.sounding.TrackInfo
addVariable, addVariableData, countReals, getAerologicalDiagramData, getDataVariable, getFloatData, getFullRange, getSpatialSet, getStringData, getTrack, getTrackName, getTrackWithTime, getVariableData, getVariables, getVarsToUse, getVarType, getVarType, includeInPointData, makeEarthDomainSet, makeRAOB, setCoordinateVars
-
Constructor Details
-
CDMTrajectoryFeatureTypeInfo
public CDMTrajectoryFeatureTypeInfo(TrajectoryFeatureTypeAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint dataset, ucar.nc2.ft.DsgFeatureCollection fc) throws Exception Instantiates a new CDM trajectory feature type info.- Parameters:
adapter- the adapterdataset- the datasetfc- the fc- Throws:
Exception- the exception
-
-
Method Details
-
getTimeUnit
Description copied from class:TrackInfoWhat is the time unit- Overrides:
getTimeUnitin classTrackInfo- Returns:
- time unit
- Throws:
Exception- On badness
-
initHelper
protected CDMTrajectoryFeatureTypeInfo.TrajectoryFeatureBean initHelper(ucar.nc2.ft.DsgFeatureCollection fc) throws IOException Helps init method get observations- Parameters:
fc- the fc- Returns:
- the trajectory feature bean
- Throws:
IOException
-
init
Init method.- Parameters:
trajBean- trajectory bean- Throws:
Exception- the exception
-
getDataRange
Get the full range. Include the stride- Overrides:
getDataRangein classTrackInfo- Returns:
- The range
- Throws:
Exception- On badness
-
getNumberPoints
public int getNumberPoints()Get number of points in track.- Overrides:
getNumberPointsin classTrackInfo- Returns:
- number of points
-
getTime
Get the time for each ob. May be subset by range. -
getTimeVals
Get the time values for the range- Overrides:
getTimeValsin classTrackInfo- Parameters:
range- range to use- Returns:
- time values in range
- Throws:
Exception- problem getting time values
-
getStartTime
Get the starting time of this track.- Overrides:
getStartTimein classTrackInfo- Returns:
- starting time
-
getEndTime
Get the ending time of this track.- Overrides:
getEndTimein classTrackInfo- Returns:
- ending time
-
getAltitude
get altitude values- Overrides:
getAltitudein classTrackInfo- Parameters:
range- subset on range. May be null- Returns:
- altitude values
- Throws:
Exception- On badness
-
getLatitude
Get latitude values- Overrides:
getLatitudein classTrackInfo- Parameters:
range- subset on range. may be null- Returns:
- latitude values
- Throws:
Exception- On badness
-
getLongitude
get longitude values- Overrides:
getLongitudein classTrackInfo- Parameters:
range- subset on range. may be null- Returns:
- longitude values
- Throws:
Exception- On badness
-
getFloatData
Get the data values for the range.- Specified by:
getFloatDatain classTrackInfo- Parameters:
range- subset. May be nullvar- The variable- Returns:
- values
- Throws:
Exception- On badness
-
getDoubleData
_more_- Overrides:
getDoubleDatain classTrackInfo- Parameters:
range- _more_var- _more_- Returns:
- _more_
- Throws:
Exception- _more_
-
getStringData
Get the string values for the var.- Specified by:
getStringDatain classTrackInfo- Parameters:
range- subset. May be null.var- The var- Returns:
- string values
- Throws:
Exception- On badness
-
getPointObTrack
Take a FlatField of data and turn it into a field of PointObs.- Overrides:
getPointObTrackin classTrackInfo- Parameters:
range- The data range of the request- Returns:
- field of PointObs
- Throws:
Exception- On badness
-