Class CIPM2007
- java.lang.Object
-
- org.orekit.models.earth.weather.water.CIPM2007
-
- All Implemented Interfaces:
WaterVaporPressureProvider
public class CIPM2007 extends Object implements WaterVaporPressureProvider
Official model CIPM-2007 (identical to CIPM-1981/91) from Comité International des Poids et Mesures.This water vapor model is the one from Giacomo and Davis as indicated in IERS TN 32, chap. 9.
- Since:
- 12.1
- Author:
- Luc Maisonobe
- See Also:
- Revised formula for the density of moist air (CIPM-2007), Metrologia 45 (2008) 149–155
-
-
Constructor Summary
Constructors Constructor Description CIPM2007()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
waterVaporPressure(double p, double t, double rh)
Compute water vapor pressure.<T extends CalculusFieldElement<T>>
TwaterVaporPressure(T p, T t, T rh)
Compute water vapor pressure.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.models.earth.weather.water.WaterVaporPressureProvider
relativeHumidity, relativeHumidity
-
-
-
-
Method Detail
-
waterVaporPressure
public double waterVaporPressure(double p, double t, double rh)
Compute water vapor pressure.- Specified by:
waterVaporPressure
in interfaceWaterVaporPressureProvider
- Parameters:
p
- pressure (Pa)t
- temperature (Kelvin)rh
- relative humidity, as a ratio (50% → 0.5)- Returns:
- water vapor pressure (Pa)
-
waterVaporPressure
public <T extends CalculusFieldElement<T>> T waterVaporPressure(T p, T t, T rh)
Compute water vapor pressure.- Specified by:
waterVaporPressure
in interfaceWaterVaporPressureProvider
- Type Parameters:
T
- type of the field elements- Parameters:
p
- pressure (Pa)t
- temperature (Kelvin)rh
- relative humidity, as a ratio (50% → 0.5)- Returns:
- water vapor pressure (Pa)
-
-