36 static double gravity(
const double& altitude,
const double& latitude);
38 static double reducedAirPressure(
const double& pressure,
const double& altitude,
const double& latitude);
39 static double stdDryAirDensity(
const double& altitude,
const double& temperature);
43 static double waterVaporDensity(
const double& Temperature,
const double& VaporPressure);
44 static double wetBulbTemperature(
const double& T,
const double& RH,
const double& altitude);
45 static double blackGlobeTemperature(
const double& TA,
const double& RH,
const double& VW,
const double& iswr_dir,
const double& iswr_diff,
const double& cos_Z);
46 static double windLogProfile(
const double& v_ref,
const double& z_ref,
const double& z,
const double& z0=0.03);
48 static double windChill(
const double& TA,
const double& VW);
49 static double heatIndex(
const double& TA,
const double& RH);
50 static double humidex(
const double& TA,
const double& RH);
51 static double WBGT_index(
const double& TA,
const double& RH,
const double& VW,
const double& iswr_dir,
const double& iswr_diff,
const double& cos_Z,
const double& altitude);
52 static double WBGT_index_Au(
const double& TA,
const double& RH);
58 static double Dilley_ilwr(
const double& RH,
const double& TA);
60 static double Prata_ilwr(
const double& RH,
const double& TA);
62 static double Clark_ilwr(
const double& RH,
const double& TA);
64 static double Tang_ilwr(
const double& RH,
const double& TA);
66 static double Idso_ilwr(
const double& RH,
const double& TA);
69 static double Omstedt_emissivity(
const double& RH,
const double& TA,
const double& cloudiness);
70 static double Omstedt_ilwr(
const double& RH,
const double& TA,
const double& cloudiness);
72 static double Konzelmann_ilwr(
const double& RH,
const double& TA,
const double& cloudiness);
73 static double Carmona_emissivity(
const double& RH,
const double& TA,
const double& cloudiness);
74 static double Carmona_ilwr(
const double& RH,
const double& TA,
const double& cloudiness);
75 static double Crawford_ilwr(
const double& RH,
const double& TA,
const double& iswr_meas,
const double& iswr_clear_sky,
const unsigned char& month,
const double& cloudiness=
IOUtils::nodata);
76 static double Crawford_ilwr(
const double& lat,
const double& lon,
const double& altitude,
77 const double& julian,
const double& TZ,
78 const double& RH,
const double& TA,
const double& ISWR,
const double& cloudiness=
IOUtils::nodata);
79 static double Unsworth_ilwr(
const double& RH,
const double& TA,
const double& iswr_meas,
const double& iswr_clear_sky,
const double& cloudiness=
IOUtils::nodata);
80 static double Unsworth_ilwr(
const double& lat,
const double& lon,
const double& altitude,
81 const double& julian,
const double& TZ,
82 const double& RH,
const double& TA,
const double& ISWR,
const double& cloudiness=
IOUtils::nodata);
83 static double Lhomme_ilwr(
const double& RH,
const double& TA,
const double& iswr_meas,
const double& iswr_clear_sky,
const double& cloudiness);
84 static double Lhomme_ilwr(
const double& lat,
const double& lon,
const double& altitude,
85 const double& julian,
const double& TZ,
86 const double& RH,
const double& TA,
const double& ISWR,
const double& cloudiness=
IOUtils::nodata);
91 static double ILWR_parametrized(
const double& lat,
const double& lon,
const double& altitude,
92 const double& julian,
const double& TZ,
93 const double& RH,
const double& TA,
const double& ISWR,
const double& cloudiness=
IOUtils::nodata);
95 static double RhtoDewPoint(
double RH,
double TA,
const bool& force_water);
96 static double DewPointtoRh(
double TD,
double TA,
const bool& force_water);
97 static double specToRelHumidity(
const double& altitude,
const double& TA,
const double& qi);
98 static double relToSpecHumidity(
const double& altitude,
const double& TA,
const double& RH);
100 static double blkBody_Emissivity(
const double& lwr,
const double& T,
const bool& max_limit=
true);
A class to calculate the atmosphere's parameters.
Definition Atmosphere.h:34
static double blkBody_Radiation(const double &ea, const double &T)
Calculates the black body long wave radiation knowing its emissivity.
Definition Atmosphere.cc:53
static double Lhomme_cloudiness(const double &solarIndex)
Evaluate the cloudiness from a given solar index. This uses the formula from Lhomme et al....
Definition Atmosphere.cc:758
static double WBGT_index_Au(const double &TA, const double &RH)
Wet Bulb Globe Temperature index, Australian Bureau of Meteorology approximation. This is an index ai...
Definition Atmosphere.cc:319
static double Carmona_ilwr(const double &RH, const double &TA, const double &cloudiness)
Evaluate the long wave radiation from RH, TA and cloudiness. This is according to Carmona,...
Definition Atmosphere.cc:682
static double windLogProfile(const double &v_ref, const double &z_ref, const double &z, const double &z0=0.03)
Wind log profile. This is used to compute the equivalent wind speed at a different height.
Definition Atmosphere.cc:216
static double Crawford_ilwr(const double &RH, const double &TA, const double &iswr_meas, const double &iswr_clear_sky, const unsigned char &month, const double &cloudiness=IOUtils::nodata)
Evaluate the long wave radiation for clear or cloudy sky. This uses the formula from Crawford and Duc...
Definition Atmosphere.cc:858
static double Prata_ilwr(const double &RH, const double &TA)
Evaluate the long wave radiation for clear sky. This uses the formula from Prata – "A new long-wave f...
Definition Atmosphere.cc:484
static double Dilley_ilwr(const double &RH, const double &TA)
Evaluate the long wave radiation for clear sky. This uses the formula from Dilley and O'Brien – "Esti...
Definition Atmosphere.cc:450
static double Idso_ilwr(const double &RH, const double &TA)
Evaluate the long wave radiation for clear sky. This uses the formula from Idso – "A set of equations...
Definition Atmosphere.cc:571
static double vaporSaturationPressure(const double &T)
Standard water vapor saturation pressure. See Murray, F. W., "On the computation of saturation vapor ...
Definition Atmosphere.cc:335
static double Lhomme_clearness(const double &cloudiness)
Evaluate the solar clearness index for a given cloudiness. This uses the formula from Lhomme et al....
Definition Atmosphere.cc:737
static double stdDryAirDensity(const double &altitude, const double &temperature)
Standard dry air pressure.
Definition Atmosphere.cc:119
static double RhtoDewPoint(double RH, double TA, const bool &force_water)
Convert a relative humidity to a dew point temperature.
Definition Atmosphere.cc:1044
static const double day_iswr_thresh
Definition Atmosphere.h:103
static double DewPointtoRh(double TD, double TA, const bool &force_water)
Convert a dew point temperature to a relative humidity.
Definition Atmosphere.cc:1090
static double Brutsaert_ilwr(const double &RH, const double &TA)
Evaluate the long wave radiation for clear sky. This uses the formula from Brutsaert – "On a Derivabl...
Definition Atmosphere.cc:417
static double blackGlobeTemperature(const double &TA, const double &RH, const double &VW, const double &iswr_dir, const double &iswr_diff, const double &cos_Z)
Black Globe Temperature. This is an estimation of the black globe temperature based on physical model...
Definition Atmosphere.cc:173
static double Kasten_cloudiness(const double &solarIndex)
Evaluate the cloudiness from a given solar index. This uses the formula from Kasten and Czeplak – "So...
Definition Atmosphere.cc:718
static double Kasten_clearness(const double &cloudiness)
Evaluate the solar clearness index for a given cloudiness. This uses the formula from Kasten and Czep...
Definition Atmosphere.cc:697
static double Lhomme_ilwr(const double &RH, const double &TA, const double &iswr_meas, const double &iswr_clear_sky, const double &cloudiness)
Evaluate the long wave radiation for clear or cloudy sky. This uses the formula from Lhomme et al....
Definition Atmosphere.cc:779
static double waterVaporDensity(const double &Temperature, const double &VaporPressure)
Calculates the water vapor density, for a given temperature and vapor pressure.
Definition Atmosphere.cc:130
static double reducedAirPressure(const double &pressure, const double &altitude, const double &latitude)
Atmospheric pressure reduced to sea level. This calculates the following formula (with P the pressure...
Definition Atmosphere.cc:92
static double Dilley_emissivity(const double &RH, const double &TA)
Evaluate the atmosphere emissivity for clear sky. This uses the formula from Dilley and O'Brien – "Es...
Definition Atmosphere.cc:433
static double WBGT_index(const double &TA, const double &RH, const double &VW, const double &iswr_dir, const double &iswr_diff, const double &cos_Z, const double &altitude)
Wet Bulb Globe Temperature index. This is an index aiming at expressing the human-perceived air tempe...
Definition Atmosphere.cc:300
static double humidex(const double &TA, const double &RH)
Humidex index, by Canadian meteorologists. This is an index aiming at expressing the human-perceived ...
Definition Atmosphere.cc:278
static double blkBody_Emissivity(const double &lwr, const double &T, const bool &max_limit=true)
Calculate the black body emissivity.
Definition Atmosphere.cc:40
static double Tang_emissivity(const double &RH, const double &TA)
Evaluate the atmosphere emissivity for clear sky. This uses the formula from Tang,...
Definition Atmosphere.cc:527
static double Clark_emissivity(const double &RH, const double &TA)
Evaluate the atmosphere emissivity for clear sky. This uses the formula from Clark & Allen – "The est...
Definition Atmosphere.cc:498
static double Omstedt_emissivity(const double &RH, const double &TA, const double &cloudiness)
Evaluate the atmosphere emissivity from the water vapor pressure and cloudiness. This is according to...
Definition Atmosphere.cc:586
static double specToRelHumidity(const double &altitude, const double &TA, const double &qi)
Calculate the relative Humidity (RH) from specific humidity.
Definition Atmosphere.cc:1139
static double Prata_emissivity(const double &RH, const double &TA)
Evaluate the atmosphere emissivity for clear sky. This uses the formula from Prata – "A new long-wave...
Definition Atmosphere.cc:468
static double stdAirPressure(const double &altitude)
Standard atmospheric pressure as a function of the altitude. This is based on the following formula (...
Definition Atmosphere.cc:70
static double Tang_ilwr(const double &RH, const double &TA)
Evaluate the long wave radiation for clear sky. This uses the formula from Tang, Etzion and Meir – "E...
Definition Atmosphere.cc:542
static double Konzelmann_ilwr(const double &RH, const double &TA, const double &cloudiness)
Evaluate the long wave radiation from RH, TA and cloudiness. This is according to Konzelmann,...
Definition Atmosphere.cc:645
static double virtualTemperatureFactor(const double &e, const double &p)
Virtual temperature multiplying factor. In order to get a virtual temperature, multiply the original ...
Definition Atmosphere.cc:382
static double windChill(const double &TA, const double &VW)
Wind chill temperature. This is an index aiming at expressing the human-percived feeling of air tempe...
Definition Atmosphere.cc:230
static double vaporSaturationPressureWater(const double &T)
Standard water vapor saturation pressure, assuming "over water" for the full temperature range....
Definition Atmosphere.cc:364
static double Brutsaert_emissivity(const double &RH, const double &TA)
Evaluate the atmosphere emissivity for clear sky. This uses the formula from Brutsaert – "On a Deriva...
Definition Atmosphere.cc:398
static double Unsworth_ilwr(const double &RH, const double &TA, const double &iswr_meas, const double &iswr_clear_sky, const double &cloudiness=IOUtils::nodata)
Evaluate the long wave radiation for clear or cloudy sky. This uses the formula from Unsworth and Mon...
Definition Atmosphere.cc:940
static double relToSpecHumidity(const double &altitude, const double &TA, const double &RH)
Calculate the specific Humidity from relative humidity (RH).
Definition Atmosphere.cc:1155
static double Carmona_emissivity(const double &RH, const double &TA, const double &cloudiness)
Evaluate the atmosphere emissivity from RH, TA and cloudiness. This is according to Carmona,...
Definition Atmosphere.cc:661
static double Clark_ilwr(const double &RH, const double &TA)
Evaluate the long wave radiation for clear sky. This uses the formula from Clark & Allen – "The estim...
Definition Atmosphere.cc:513
static double gravity(const double &altitude, const double &latitude)
Acceleration due to gravity.
Definition Atmosphere.cc:106
static double ILWR_parametrized(const double &lat, const double &lon, const double &altitude, const double &julian, const double &TZ, const double &RH, const double &TA, const double &ISWR, const double &cloudiness=IOUtils::nodata)
Compute a parametrized Incoming Long Wave Radiation This uses either Atmosphere::Crawford_ilwr or Atm...
Definition Atmosphere.cc:1017
static double wetBulbTemperature(const double &T, const double &RH, const double &altitude)
Standard atmosphere wet bulb temperature. This gives the lowest temperature that could be reached by ...
Definition Atmosphere.cc:144
static double Omstedt_ilwr(const double &RH, const double &TA, const double &cloudiness)
Evaluate the long wave radiation from RH, TA and cloudiness. This is according to A....
Definition Atmosphere.cc:607
static double Idso_emissivity(const double &RH, const double &TA)
Evaluate the atmosphere emissivity for clear sky. This uses the formula from Idso – "A set of equatio...
Definition Atmosphere.cc:556
static double Konzelmann_emissivity(const double &RH, const double &TA, const double &cloudiness)
Evaluate the atmosphere emissivity from the water vapor pressure and cloudiness. This is according to...
Definition Atmosphere.cc:622
static double heatIndex(const double &TA, const double &RH)
Heat index. This is an index aiming at expressing the human-perceived air temperature due to humidity...
Definition Atmosphere.cc:251
const double nodata
This is the internal nodata value.
Definition IOUtils.h:75