Package ucar.unidata.data.sounding
Class CDMTrajectoryFeatureTypeInfo.TrajectoryFeatureBean
java.lang.Object
ucar.unidata.data.sounding.CDMTrajectoryFeatureTypeInfo.FeatureBean
ucar.unidata.data.sounding.CDMTrajectoryFeatureTypeInfo.StationBean
ucar.unidata.data.sounding.CDMTrajectoryFeatureTypeInfo.TrajectoryFeatureBean
- All Implemented Interfaces:
Comparable<ucar.unidata.geoloc.Station>,ucar.unidata.geoloc.EarthLocation,ucar.unidata.geoloc.Station
- Enclosing class:
CDMTrajectoryFeatureTypeInfo
public static class CDMTrajectoryFeatureTypeInfo.TrajectoryFeatureBean
extends CDMTrajectoryFeatureTypeInfo.StationBean
The Class TrajectoryFeatureBean.
-
Constructor Summary
ConstructorsConstructorDescriptionTrajectoryFeatureBean(ucar.nc2.ft.TrajectoryFeature pfc) Instantiates a new trajectory feature bean. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ucar.unidata.geoloc.Station so) doublefloat[]getAltitudes(ucar.ma2.Range range) Gets the altitudes.double[]getDoubleData(ucar.ma2.Range range, String varStr) Gets the double data.float[]getFloatData(ucar.ma2.Range range, String varStr) Gets the float data.doublefloat[]getLatitudes(ucar.ma2.Range range) Gets the latitudes.ucar.unidata.geoloc.LatLonPointdoublefloat[]getLongitudes(ucar.ma2.Range range) Gets the longitudes.getName()intgetNobs()Gets the nobs.String[]getStringData(ucar.ma2.Range range, String varStr) Gets the String data.double[]getTimes(ucar.ma2.Range range) getWmoId()static StringHidden properties.booleanvoidsetNobs(int npts) Sets the nobs.voidsetPfs()when there is multiple trajectories, pfs needs to be resetMethods inherited from class ucar.unidata.data.sounding.CDMTrajectoryFeatureTypeInfo.FeatureBean
getFields, showFields
-
Constructor Details
-
TrajectoryFeatureBean
Instantiates a new trajectory feature bean.- Parameters:
pfc- the pfc- Throws:
IOException
-
-
Method Details
-
setPfs
public void setPfs()when there is multiple trajectories, pfs needs to be reset -
setNobs
public void setNobs(int npts) Sets the nobs.- Overrides:
setNobsin classCDMTrajectoryFeatureTypeInfo.StationBean- Parameters:
npts- the new nobs
-
getNobs
public int getNobs()Gets the nobs.- Specified by:
getNobsin interfaceucar.unidata.geoloc.Station- Overrides:
getNobsin classCDMTrajectoryFeatureTypeInfo.StationBean- Returns:
- the nobs
-
getName
- Specified by:
getNamein interfaceucar.unidata.geoloc.Station- Overrides:
getNamein classCDMTrajectoryFeatureTypeInfo.StationBean
-
getDescription
- Specified by:
getDescriptionin interfaceucar.unidata.geoloc.Station- Overrides:
getDescriptionin classCDMTrajectoryFeatureTypeInfo.StationBean
-
getWmoId
- Specified by:
getWmoIdin interfaceucar.unidata.geoloc.Station- Overrides:
getWmoIdin classCDMTrajectoryFeatureTypeInfo.StationBean
-
getLatitude
public double getLatitude()- Specified by:
getLatitudein interfaceucar.unidata.geoloc.EarthLocation- Overrides:
getLatitudein classCDMTrajectoryFeatureTypeInfo.StationBean
-
getLongitude
public double getLongitude()- Specified by:
getLongitudein interfaceucar.unidata.geoloc.EarthLocation- Overrides:
getLongitudein classCDMTrajectoryFeatureTypeInfo.StationBean
-
getAltitude
public double getAltitude()- Specified by:
getAltitudein interfaceucar.unidata.geoloc.EarthLocation- Overrides:
getAltitudein classCDMTrajectoryFeatureTypeInfo.StationBean
-
getLatLon
public ucar.unidata.geoloc.LatLonPoint getLatLon()- Specified by:
getLatLonin interfaceucar.unidata.geoloc.EarthLocation- Overrides:
getLatLonin classCDMTrajectoryFeatureTypeInfo.StationBean
-
compareTo
public int compareTo(ucar.unidata.geoloc.Station so) - Specified by:
compareToin interfaceComparable<ucar.unidata.geoloc.Station>- Overrides:
compareToin classCDMTrajectoryFeatureTypeInfo.StationBean
-
isMissing
public boolean isMissing()- Specified by:
isMissingin interfaceucar.unidata.geoloc.EarthLocation- Overrides:
isMissingin classCDMTrajectoryFeatureTypeInfo.StationBean
-
getTimes
public double[] getTimes(ucar.ma2.Range range) -
getLatitudes
public float[] getLatitudes(ucar.ma2.Range range) Gets the latitudes.- Parameters:
range- the range- Returns:
- the latitudes
-
getLongitudes
public float[] getLongitudes(ucar.ma2.Range range) Gets the longitudes.- Parameters:
range- the range- Returns:
- the longitudes
-
getAltitudes
public float[] getAltitudes(ucar.ma2.Range range) Gets the altitudes.- Parameters:
range- the range- Returns:
- the altitudes
-
getFloatData
Gets the float data.- Parameters:
range- the rangevarStr- the var str- Returns:
- the float data
- Throws:
Exception- the exception
-
getDoubleData
Gets the double data.- Parameters:
range- the rangevarStr- the var str- Returns:
- the double data
- Throws:
Exception- the exception
-
getStringData
Gets the String data.- Parameters:
range- the rangevarStr- the var str- Returns:
- the double data
- Throws:
Exception- the exception
-