Class GlobalPressureTemperatureModel
- java.lang.Object
-
- org.orekit.models.earth.weather.GlobalPressureTemperatureModel
-
- All Implemented Interfaces:
WeatherModel
public class GlobalPressureTemperatureModel extends Object implements WeatherModel
The Global Pressure and Temperature model. This model is an empirical model that provides the temperature and the pressure depending the latitude and the longitude of the station.The Global Pressure and Temperature model is based on spherical harmonics up to degree and order of 9. The residual values of this model can reach 20 hPa for pressure and 10 ° C for temperature. They are significant for higher latitudes and small near the equator (Böhm, 2007)
- Author:
- Bryan Cazabonne
- See Also:
- "J. Böhm, R. Heinkelmann, and H. Schuh (2007), Short Note: A global model of pressure and temperature for geodetic applications. J Geod, doi:10.1007/s00190-007-0135-3."
-
-
Constructor Summary
Constructors Constructor Description GlobalPressureTemperatureModel(double latitude, double longitude, Frame bodyFrame)
Build a new instance.GlobalPressureTemperatureModel(double latitude, double longitude, Frame bodyFrame, DataContext dataContext)
Build a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getPressure()
Get the atmospheric pressure of the station depending its position.double
getTemperature()
Get the atmospheric temperature of the station depending its position.void
weatherParameters(double height, AbsoluteDate date)
Calculates the weather parameters of the model.
-
-
-
Constructor Detail
-
GlobalPressureTemperatureModel
@DefaultDataContext public GlobalPressureTemperatureModel(double latitude, double longitude, Frame bodyFrame)
Build a new instance.At the initialization the values of the pressure and the temperature are set to NaN. The user has to call
weatherParameters(double, AbsoluteDate)
method before using the values of the pressure and the temperature.This method uses the
default data context
.- Parameters:
latitude
- geodetic latitude, in radianslongitude
- geodetic longitude, in radiansbodyFrame
- the frame to attach to the ellipsoid. The origin is at the center of mass, the z axis is the minor axis.- See Also:
GlobalPressureTemperatureModel(double, double, Frame, DataContext)
-
GlobalPressureTemperatureModel
public GlobalPressureTemperatureModel(double latitude, double longitude, Frame bodyFrame, DataContext dataContext)
Build a new instance.At the initialization the values of the pressure and the temperature are set to NaN. The user has to call
weatherParameters(double, AbsoluteDate)
method before using the values of the pressure and the temperature.- Parameters:
latitude
- geodetic latitude, in radianslongitude
- geodetic longitude, in radiansbodyFrame
- the frame to attach to the ellipsoid. The origin is atdataContext
- to use for time and gravity.- Since:
- 10.1
-
-
Method Detail
-
getTemperature
public double getTemperature()
Get the atmospheric temperature of the station depending its position.- Returns:
- the temperature in kelvins
-
getPressure
public double getPressure()
Get the atmospheric pressure of the station depending its position.- Returns:
- the pressure in hPa
-
weatherParameters
@DefaultDataContext public void weatherParameters(double height, AbsoluteDate date)
Description copied from interface:WeatherModel
Calculates the weather parameters of the model. In order to obtain the correct values of the parameters this method has to be call just after the construction of the model.- Specified by:
weatherParameters
in interfaceWeatherModel
- Parameters:
height
- the height of the station in mdate
- current date
-
-