Class CRD.MeteorologicalMeasurement

java.lang.Object
org.orekit.files.ilrs.CRD.MeteorologicalMeasurement
All Implemented Interfaces:
TimeStamped
Enclosing class:
CRD

public static class CRD.MeteorologicalMeasurement extends Object implements TimeStamped
This data record contains a minimal set of meteorological data.
  • Constructor Details

    • MeteorologicalMeasurement

      public MeteorologicalMeasurement(AbsoluteDate date, double pressure, double temperature, double humidity)
      Constructor.
      Parameters:
      date - data epoch
      pressure - the surface pressure in bars
      temperature - the surface temperature in degrees Kelvin
      humidity - the relative humidity at the surface in percents
    • MeteorologicalMeasurement

      public MeteorologicalMeasurement(AbsoluteDate date, double pressure, double temperature, double humidity, int originOfValues)
      Constructor.
      Parameters:
      date - data epoch
      pressure - the surface pressure in bars
      temperature - the surface temperature in degrees Kelvin
      humidity - the relative humidity at the surface in percents
      originOfValues - Origin of values
  • Method Details

    • getPressure

      public double getPressure()
      Get the surface pressure.
      Returns:
      the surface pressure in bars
    • getTemperature

      public double getTemperature()
      Get the surface temperature.
      Returns:
      the surface temperature in degrees Kelvin
    • getHumidity

      public double getHumidity()
      Get the relative humidity at the surface.
      Returns:
      the relative humidity at the surface in percents
    • getDate

      public AbsoluteDate getDate()
      Get the date.
      Specified by:
      getDate in interface TimeStamped
      Returns:
      date attached to the object
    • getOriginOfValues

      public int getOriginOfValues()
      Get the origin of values. 0=measure values 1=interpolated values
      Returns:
      the origin of values
      Since:
      12.0
    • toCrdString

      @DefaultDataContext public String toCrdString()
      Get a string representation of the instance in the CRD format.
      Returns:
      a string representation of the instance, in the CRD format.
      Since:
      12.0
    • toString

      @DefaultDataContext public String toString()
      Overrides:
      toString in class Object