Package org.orekit.files.ilrs
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 Summary
Constructors Constructor Description MeteorologicalMeasurement(AbsoluteDate date, double pressure, double temperature, double humidity)Constructor.MeteorologicalMeasurement(AbsoluteDate date, double pressure, double temperature, double humidity, int originOfValues)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteDategetDate()Get the date.doublegetHumidity()Get the relative humidity at the surface.intgetOriginOfValues()Get the origin of values. 0=measure values 1=interpolated valuesdoublegetPressure()Get the surface pressure.doublegetTemperature()Get the surface temperature.StringtoCrdString()Get a string representation of the instance in the CRD format.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
MeteorologicalMeasurement
public MeteorologicalMeasurement(AbsoluteDate date, double pressure, double temperature, double humidity)
Constructor.- Parameters:
date- data epochpressure- the surface pressure in barstemperature- the surface temperature in degrees Kelvinhumidity- 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 epochpressure- the surface pressure in barstemperature- the surface temperature in degrees Kelvinhumidity- the relative humidity at the surface in percentsoriginOfValues- Origin of values
-
-
Method Detail
-
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:
getDatein interfaceTimeStamped- 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()
-
-