Class Wang1988
- java.lang.Object
-
- org.orekit.models.earth.weather.water.Wang1988
-
- All Implemented Interfaces:
WaterVaporPressureProvider
public class Wang1988 extends Object implements WaterVaporPressureProvider
Conversion polynomial from "The Principle of the GPS Precise Positioning System", Wang et al, 1988.This corresponds to equation 5.96 in Guochang Xu, GPS - Theory, Algorithms and Applications, Springer, 2007.
- Since:
- 12.1
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description Wang1988()
-
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)
-
-