Class CDMProfileFeatureTypeInfo

java.lang.Object
ucar.unidata.data.sounding.TrackInfo
ucar.unidata.data.sounding.CDMProfileFeatureTypeInfo

public class CDMProfileFeatureTypeInfo extends TrackInfo
Created by IntelliJ IDEA. User: yuanho Date: Sep 17, 2010 Time: 1:37:50 PM To change this template use File | Settings | File Templates.
  • Constructor Details

    • CDMProfileFeatureTypeInfo

      public CDMProfileFeatureTypeInfo(TrackAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint fdp, ucar.nc2.ft.ProfileFeatureCollection pfc) throws Exception
      ctor
      Parameters:
      adapter - The adapter
      fdp -
      pfc -
      Throws:
      Exception - On badness
    • CDMProfileFeatureTypeInfo

      public CDMProfileFeatureTypeInfo(TrackAdapter adapter, ucar.nc2.ft.FeatureDatasetPoint fdp, ucar.nc2.ft.ProfileFeature pf) throws Exception
      Throws:
      Exception
  • Method Details

    • getTimeUnit

      protected Unit getTimeUnit() throws Exception
      _more_
      Overrides:
      getTimeUnit in class TrackInfo
      Returns:
      _more_
      Throws:
      Exception - _more_
    • getFt

      public ucar.nc2.ft.ProfileFeatureCollection getFt()
      Get TrajectoryObsDatatype
      Returns:
      the TrajectoryObsDatatype
    • getDataRange

      protected ucar.ma2.Range getDataRange() throws Exception
      Get the full range. Include the stride
      Overrides:
      getDataRange in class TrackInfo
      Returns:
      The range
      Throws:
      Exception - On badness
    • makeEarthDomainSet

      protected GriddedSet makeEarthDomainSet(ucar.ma2.Range range) throws Exception
      Make the earth spatial domain
      Overrides:
      makeEarthDomainSet in class TrackInfo
      Parameters:
      range - The data range of the request
      Returns:
      The spatial domain
      Throws:
      Exception - On badness
    • getUnits

      public Unit[] getUnits()
    • getNumberPoints

      public int getNumberPoints()
      Get number of points in track
      Overrides:
      getNumberPoints in class TrackInfo
      Returns:
      number of points
    • getTime

      protected double[] getTime(ucar.ma2.Range range) throws Exception
      Get the time for each ob. May be subset by range.
      Overrides:
      getTime in class TrackInfo
      Parameters:
      range - Subset on range. May be null
      Returns:
      time values
      Throws:
      Exception - On badness
    • getTimeVals

      public double[] getTimeVals(ucar.ma2.Range range) throws Exception
      _more_
      Overrides:
      getTimeVals in class TrackInfo
      Parameters:
      range - _more_
      Returns:
      _more_
      Throws:
      Exception - _more_
    • getStartTime

      public DateTime getStartTime()
      _more_
      Overrides:
      getStartTime in class TrackInfo
      Returns:
      _more_
    • getEndTime

      public DateTime getEndTime()
      _more_
      Overrides:
      getEndTime in class TrackInfo
      Returns:
      _more_
    • qcLatLon

      public static float[] qcLatLon(float[] v)
      _more_
      Parameters:
      v - _more_
      Returns:
      _more_
    • getAltitude

      protected float[] getAltitude(ucar.ma2.Range range) throws Exception
      _more_
      Overrides:
      getAltitude in class TrackInfo
      Parameters:
      range - _more_
      Returns:
      _more_
      Throws:
      Exception - _more_
    • getLatitude

      protected float[] getLatitude(ucar.ma2.Range range) throws Exception
      _more_
      Overrides:
      getLatitude in class TrackInfo
      Parameters:
      range - _more_
      Returns:
      _more_
      Throws:
      Exception - _more_
    • getLongitude

      protected float[] getLongitude(ucar.ma2.Range range) throws Exception
      _more_
      Overrides:
      getLongitude in class TrackInfo
      Parameters:
      range - _more_
      Returns:
      _more_
      Throws:
      Exception - _more_
    • getFloatData

      public float[] getFloatData(ucar.ma2.Range range, String var) throws Exception
      Get the data values for the range.
      Specified by:
      getFloatData in class TrackInfo
      Parameters:
      range - subset. May be null
      var - The variable
      Returns:
      values
      Throws:
      Exception - On badness
    • getDoubleData

      public double[] getDoubleData(ucar.ma2.Range range, String var) throws Exception
      _more_
      Overrides:
      getDoubleData in class TrackInfo
      Parameters:
      range - _more_
      var - _more_
      Returns:
      _more_
      Throws:
      Exception - _more_
    • getStringData

      public String[] getStringData(ucar.ma2.Range range, String var) throws Exception
      Get the string values for the var
      Specified by:
      getStringData in class TrackInfo
      Parameters:
      range - subset. May be null.
      var - The var
      Returns:
      string values
      Throws:
      Exception - On badness
    • getPointObTrack

      public FieldImpl getPointObTrack(ucar.ma2.Range range) throws Exception
      Take a FlatField of data and turn it into a field of PointObs.
      Overrides:
      getPointObTrack in class TrackInfo
      Parameters:
      range - The data range of the request
      Returns:
      field of PointObs
      Throws:
      Exception - On badness