Package org.orekit.files.ilrs
Class CRD.MeteorologicalMeasurement
java.lang.Object
org.orekit.files.ilrs.CRD.MeteorologicalMeasurement
- All Implemented Interfaces:
TimeStamped
- Enclosing class:
CRD
This data record contains a minimal set of meteorological data.
-
Constructor Summary
ConstructorsConstructorDescriptionMeteorologicalMeasurement(AbsoluteDate date, double pressure, double temperature, double humidity) Constructor.MeteorologicalMeasurement(AbsoluteDate date, double pressure, double temperature, double humidity, int originOfValues) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Get the date.doubleGet the relative humidity at the surface.intGet the origin of values. 0=measure values 1=interpolated valuesdoubleGet the surface pressure.doubleGet the surface temperature.Get a string representation of the instance in the CRD format.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
Constructor Details
-
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 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
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
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
-