Class 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 Details

    • TrajectoryFeatureBean

      public TrajectoryFeatureBean(ucar.nc2.ft.TrajectoryFeature pfc) throws IOException
      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
    • hiddenProperties

      public static String hiddenProperties()
      Hidden properties.
      Returns:
      the string
    • setNobs

      public void setNobs(int npts)
      Sets the nobs.
      Overrides:
      setNobs in class CDMTrajectoryFeatureTypeInfo.StationBean
      Parameters:
      npts - the new nobs
    • getNobs

      public int getNobs()
      Gets the nobs.
      Specified by:
      getNobs in interface ucar.unidata.geoloc.Station
      Overrides:
      getNobs in class CDMTrajectoryFeatureTypeInfo.StationBean
      Returns:
      the nobs
    • getName

      public String getName()
      Specified by:
      getName in interface ucar.unidata.geoloc.Station
      Overrides:
      getName in class CDMTrajectoryFeatureTypeInfo.StationBean
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface ucar.unidata.geoloc.Station
      Overrides:
      getDescription in class CDMTrajectoryFeatureTypeInfo.StationBean
    • getWmoId

      public String getWmoId()
      Specified by:
      getWmoId in interface ucar.unidata.geoloc.Station
      Overrides:
      getWmoId in class CDMTrajectoryFeatureTypeInfo.StationBean
    • getLatitude

      public double getLatitude()
      Specified by:
      getLatitude in interface ucar.unidata.geoloc.EarthLocation
      Overrides:
      getLatitude in class CDMTrajectoryFeatureTypeInfo.StationBean
    • getLongitude

      public double getLongitude()
      Specified by:
      getLongitude in interface ucar.unidata.geoloc.EarthLocation
      Overrides:
      getLongitude in class CDMTrajectoryFeatureTypeInfo.StationBean
    • getAltitude

      public double getAltitude()
      Specified by:
      getAltitude in interface ucar.unidata.geoloc.EarthLocation
      Overrides:
      getAltitude in class CDMTrajectoryFeatureTypeInfo.StationBean
    • getLatLon

      public ucar.unidata.geoloc.LatLonPoint getLatLon()
      Specified by:
      getLatLon in interface ucar.unidata.geoloc.EarthLocation
      Overrides:
      getLatLon in class CDMTrajectoryFeatureTypeInfo.StationBean
    • compareTo

      public int compareTo(ucar.unidata.geoloc.Station so)
      Specified by:
      compareTo in interface Comparable<ucar.unidata.geoloc.Station>
      Overrides:
      compareTo in class CDMTrajectoryFeatureTypeInfo.StationBean
    • isMissing

      public boolean isMissing()
      Specified by:
      isMissing in interface ucar.unidata.geoloc.EarthLocation
      Overrides:
      isMissing in class CDMTrajectoryFeatureTypeInfo.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

      public float[] getFloatData(ucar.ma2.Range range, String varStr) throws Exception
      Gets the float data.
      Parameters:
      range - the range
      varStr - the var str
      Returns:
      the float data
      Throws:
      Exception - the exception
    • getDoubleData

      public double[] getDoubleData(ucar.ma2.Range range, String varStr) throws Exception
      Gets the double data.
      Parameters:
      range - the range
      varStr - the var str
      Returns:
      the double data
      Throws:
      Exception - the exception
    • getStringData

      public String[] getStringData(ucar.ma2.Range range, String varStr) throws Exception
      Gets the String data.
      Parameters:
      range - the range
      varStr - the var str
      Returns:
      the double data
      Throws:
      Exception - the exception