Class SoundingOb

java.lang.Object
ucar.unidata.data.sounding.SoundingOb

public class SoundingOb extends Object
Provide support for an upper air observation with station information, a timestamp, and data.
  • Constructor Details

    • SoundingOb

      public SoundingOb()
      No-op constructor for XML persistence
    • SoundingOb

      public SoundingOb(SoundingStation station, DateTime timestamp)
      Create a sounding observation.
      Parameters:
      station - location information (lat, lon, id);
      timestamp - time of the observation
    • SoundingOb

      public SoundingOb(SoundingStation station, DateTime timestamp, RAOB raob)
      Create a sounding observation.
      Parameters:
      station - location information (lat, lon, id);
      timestamp - time of the observation
      raob - the data
  • Method Details

    • getStation

      public SoundingStation getStation()
      Return the station information associated with this observation
      Returns:
      the station
    • setStation

      public void setStation(SoundingStation s)
      Set the station
      Parameters:
      s - the station
    • getStationIdentifier

      public String getStationIdentifier()
      Return the identifier of the station associated with this observation
      Returns:
      the station ID
    • hasData

      public boolean hasData()
      Check that the raob has both a temperature profile and a dewpoint profile; else return false.
      Returns:
      check to see if this has a temp and dewpoint profile
    • getRAOB

      public RAOB getRAOB()
      Return the RAOB associated with this observation
      Returns:
      the RAOB
    • setRAOB

      protected void setRAOB(RAOB r)
      Set the RAOB member
      Parameters:
      r - the RAOB
    • getTimestamp

      public DateTime getTimestamp()
      Return the timestamp of this observation
      Returns:
      the time stamp
    • setTimestamp

      public void setTimestamp(DateTime d)
      Set the date/time
      Parameters:
      d - the timestamp
    • toString

      public String toString()
      Return a string representation of this SoundingOb
      Overrides:
      toString in class Object
      Returns:
      a string representation of this SoundingOb
    • getLabel

      public String getLabel()
      Print a pretty version of the object.
      Returns:
      a pretty version of this object
    • equals

      public boolean equals(Object other)
      Check if another Object is equal to this one
      Overrides:
      equals in class Object
      Parameters:
      other - the other object
      Returns:
      true if they are equal (same station and time)
    • setMandatoryFile

      public void setMandatoryFile(String value)
      Set the MandatoryFile property.
      Parameters:
      value - The new value for MandatoryFile
    • getMandatoryFile

      public String getMandatoryFile()
      Get the MandatoryFile property.
      Returns:
      The MandatoryFile
    • setSigFile

      public void setSigFile(String value)
      Set the SigFile property.
      Parameters:
      value - The new value for SigFile
    • getSigFile

      public String getSigFile()
      Get the SigFile property.
      Returns:
      The SigFile