public class MeteorologicalConditions extends Object implements Serializable
Instances of this class are guaranteed to be immutable.
Modifier and Type | Field and Description |
---|---|
static double |
ABSOLUTE_ZERO
Absolute zero for temperatures.
|
static double |
H0
Standard reference altitude [m].
|
static double |
P0
Standard reference pressure [Pa].
|
static double |
RH0
Standard reference relative humidity [%].
|
static MeteorologicalConditions |
STANDARD
|
static double |
T0
Standard reference temperature [°C].
|
Constructor and Description |
---|
MeteorologicalConditions(double pressure,
double temperature,
double humidity)
Standard meteorological conditions constructor with all the variables set at once.
|
Modifier and Type | Method and Description |
---|---|
static MeteorologicalConditions |
computeStandardValues(double altitude)
Computes standard model values [P, T, R] for provided altitude with standard reference values
[P0, T0, RH0] provided by tropospheric models :
P = pressure [Pa] - P0 = 101325 [Pa]
T = temperature [K] - T0 = 18 [°C]
RH = humidity rate [%] - RH0 = 50 [%]
|
static MeteorologicalConditions |
computeStandardValues(MeteorologicalConditions referenceMeteoConditions,
double referenceAltitude,
double altitude)
Computes standard model values [P, T, RH] for provided altitude given reference values
[P0, T0, RH0 H0] with:
P = pressure [Pa]
T = temperature [K]
RH = relative humidity [%]
|
boolean |
equals(Object object) |
double |
getHumidity()
Getter for the relative humidity [%].
|
double |
getPressure()
Getter for the pressure [Pa].
|
double |
getTemperature()
Getter for the temperature [°K].
|
int |
hashCode() |
static MeteorologicalConditions |
mean(Collection<MeteorologicalConditions> meteoConditionsCollection)
Compute the mean of the meteorological conditions
|
String |
toString()
Get a String representation of this meteorological conditions.
|
public static final double P0
public static final double T0
public static final double RH0
public static final double H0
public static final double ABSOLUTE_ZERO
public static final MeteorologicalConditions STANDARD
public MeteorologicalConditions(double pressure, double temperature, double humidity)
pressure
- Pressure [Pa]temperature
- Temperature [°K]humidity
- Relative humidity [%]NotPositiveException
- if pressure < 0
NotStrictlyPositiveException
- if temperature <= 0
OutOfRangeException
- if humidity < 0
or if humidity > 100
public double getPressure()
public double getTemperature()
public double getHumidity()
public static MeteorologicalConditions mean(Collection<MeteorologicalConditions> meteoConditionsCollection)
meteoConditionsCollection
- set of meteo conditions to averagepublic static MeteorologicalConditions computeStandardValues(MeteorologicalConditions referenceMeteoConditions, double referenceAltitude, double altitude)
referenceMeteoConditions
- reference temperature, pressure and relative humidityreferenceAltitude
- reference altitudealtitude
- altitude for which values [P, T, RH] should be returnedpublic static MeteorologicalConditions computeStandardValues(double altitude)
altitude
- altitude for which values [P, T, RH] should be returnedpublic String toString()
Copyright © 2023 CNES. All rights reserved.