public class CdmTrackInfo extends TrackInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VAR_ALTITUDE
Fixed var name for alt
|
static java.lang.String |
VAR_LATITUDE
Fixed var name for lat
|
static java.lang.String |
VAR_LONGITUDE
Fixed var name for lon
|
static java.lang.String |
VAR_TIME
Fixed var name for time
|
adapter, ALT_TYPE, cachedTimeVals, lastSpatialSetRange, LAT_TYPE, llaSet, LON_TYPE, TIME_TYPE, trackName, varAltitude, variables, varLatitude, varLongitude, varTime
Constructor and Description |
---|
CdmTrackInfo(TrackAdapter adapter,
ucar.nc2.ft.FeatureDatasetPoint tod,
ucar.nc2.ft.TrajectoryFeature todt)
ctor
|
Modifier and Type | Method and Description |
---|---|
protected float[] |
getAltitude(ucar.ma2.Range range)
get altitude values
|
protected ucar.ma2.Range |
getDataRange()
Get the full range.
|
protected double[] |
getDoubleData(ucar.ma2.Range range,
java.lang.String var)
_more_
|
visad.DateTime |
getEndTime()
Get the ending time of this track.
|
protected float[] |
getFloatData(ucar.ma2.Range range,
java.lang.String var)
Get the data values for the range.
|
int |
getNumberPoints()
Get number of points in track
|
visad.FieldImpl |
getPointObTrack(ucar.ma2.Range range)
Take a FlatField of data and turn it into a field of PointObs.
|
visad.DateTime |
getStartTime()
Get the starting time of this track.
|
protected java.lang.String[] |
getStringData(ucar.ma2.Range range,
java.lang.String var)
Get the string values for the var
|
protected double[] |
getTime(ucar.ma2.Range range)
Get the time for each ob.
|
protected visad.Unit |
getTimeUnit()
A utility to get the time unit
|
ucar.nc2.ft.TrajectoryFeature |
getTodt()
Get TrajectoryObsDatatype
|
static float[] |
qcLatLon(float[] v)
_more_
|
addVariable, addVariableData, countReals, getAerologicalDiagramData, getDataVariable, getFloatData, getFullRange, getLatitude, getLongitude, getSpatialSet, getStringData, getTimeVals, getTrack, getTrackName, getTrackWithTime, getVariableData, getVariables, getVarsToUse, getVarType, getVarType, includeInPointData, makeEarthDomainSet, makeRAOB, setCoordinateVars
public static final java.lang.String VAR_LATITUDE
public static final java.lang.String VAR_LONGITUDE
public static final java.lang.String VAR_ALTITUDE
public static final java.lang.String VAR_TIME
public CdmTrackInfo(TrackAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint tod, ucar.nc2.ft.TrajectoryFeature todt) throws java.lang.Exception
adapter
- The adaptertod
- todtodt
- todtjava.lang.Exception
- On badnesspublic visad.DateTime getStartTime()
TrackInfo
getStartTime
in class TrackInfo
public visad.DateTime getEndTime()
getEndTime
in class TrackInfo
public ucar.nc2.ft.TrajectoryFeature getTodt()
public int getNumberPoints()
getNumberPoints
in class TrackInfo
protected ucar.ma2.Range getDataRange() throws java.lang.Exception
getDataRange
in class TrackInfo
java.lang.Exception
- On badnessprotected visad.Unit getTimeUnit() throws java.lang.Exception
getTimeUnit
in class TrackInfo
java.lang.Exception
- On badnessprotected double[] getTime(ucar.ma2.Range range) throws java.lang.Exception
public static float[] qcLatLon(float[] v)
v
- _more_protected float[] getFloatData(ucar.ma2.Range range, java.lang.String var) throws java.lang.Exception
getFloatData
in class TrackInfo
range
- subset. May be nullvar
- The variablejava.lang.Exception
- On badnessprotected double[] getDoubleData(ucar.ma2.Range range, java.lang.String var) throws java.lang.Exception
getDoubleData
in class TrackInfo
range
- _more_var
- _more_java.lang.Exception
- _more_protected java.lang.String[] getStringData(ucar.ma2.Range range, java.lang.String var) throws java.lang.Exception
getStringData
in class TrackInfo
range
- subset. May be null.var
- The varjava.lang.Exception
- On badnessprotected float[] getAltitude(ucar.ma2.Range range) throws java.lang.Exception
getAltitude
in class TrackInfo
range
- subset on range. May be nulljava.lang.Exception
- On badnesspublic visad.FieldImpl getPointObTrack(ucar.ma2.Range range) throws java.lang.Exception
getPointObTrack
in class TrackInfo
range
- The data range of the requestjava.lang.Exception
- On badness