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.
|
GlobalPressureTemperatureModel(double latitude,
double longitude,
Frame bodyFrame,
DataContext dataContext)
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.
|
@DefaultDataContext 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.
This method uses the default data context
.
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.GlobalPressureTemperatureModel(double, double, Frame, DataContext)
public GlobalPressureTemperatureModel(double latitude, double longitude, Frame bodyFrame, DataContext dataContext)
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 atdataContext
- to use for time and gravity.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-2020 CS GROUP. All rights reserved.