public class GlobalPressureTemperatureModel extends Object implements WeatherModel
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)
Constructor and Description |
---|
GlobalPressureTemperatureModel(double latitude,
double longitude,
Frame bodyFrame)
Build a new instance.
|
Modifier and Type | Method and 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.
|
public GlobalPressureTemperatureModel(double latitude, double longitude, Frame bodyFrame)
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.
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.public double getTemperature()
public double getPressure()
public void weatherParameters(double height, AbsoluteDate date)
WeatherModel
weatherParameters
in interface WeatherModel
height
- the height of the station in mdate
- current dateCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.