#include <Meteo.h>
◆ ATM_STABILITY
Enumerator |
---|
RICHARDSON | Simplified Richardson number stability correction.
|
NEUTRAL | Assume neutral stratification.
|
MO_LOG_LINEAR | Simple log-linear model.
|
MO_HOLTSLAG | Holtslag and DeBruin (1988) prepared from Ed Andreas.
|
MO_STEARNS | Stearns C. and Weidner G., "sensible and latent heat flux estimates in antarctica", Antarctic meteorology and climatology: studies based on automatic weather stations, Antarctic Research Series, 61, pp 190–138, 1993.
|
MO_MICHLMAYR | Stearns & Weidner, 1993 modified by Michlmayr, 2008.
|
MO_SCHLOEGL_UNI | Schloegl univariate, see Schlögl et al. "How do stability corrections perfom over snow in the stable boundary layer?", Boundary-Layer Meteorol., in review, 2016.
|
MO_SCHLOEGL_MULTI | Schloegl multivariate without offset.
|
MO_SCHLOEGL_MULTI_OFFSET | Schloegl multivariate with offset.
|
◆ Meteo() [1/2]
◆ Meteo() [2/2]
Meteo::Meteo |
( |
const Meteo & |
mt | ) |
|
◆ ~Meteo()
◆ compHSrate()
Compute measured snow depth change rate to detect growing grass (canopy) vs. snowfall on bare ground.
- Parameters
-
Mdata | |
Xdata | |
hs_a3hl6 | snow depth average from t_now - 6 h to t_now - 3 h |
- Returns
- whether grass should be detected
◆ compMeteo()
void Meteo::compMeteo |
( |
CurrentMeteo & |
Mdata, |
|
|
SnowStation & |
Xdata, |
|
|
const bool |
runCanopyModel, |
|
|
const bool |
adjust_height_of_wind_value |
|
) |
| |
- with CANOPY set: In case of an existing canopy, call canopy routine, which computes precipitation, radiation, friction velocity and reference temperature for the surface below the canopy. Note that solar radiation may change also in dg_cn_Canopy().
- Mdata->iswr incoming global solar radiation (direct + diffuse), adapted to canopy
- Mdata->rswr reflected global solar radiation (diffuse), adapted to canopy
- Mdata->ustar friction velocity, adapted to canopy
- Mdata->z0 roughness length, adapted to canopy
- Mdata->ea atmospheric emissivity below canopy, i.e., to give correct longwave radiation as function of air temperature, however modified to include effect of canopy
- without canopy (CANOPY is not set): For bare soil as well as snowed-in canopy or some other problems, compute the roughness length z0, the friction velocity ustar as well as the atmospheric stability correction psi_s for scalar heat fluxes
- Mdata->ustar friction velocity
- Mdata->z0 roughness length
- psi_s stability correction for scalar heat fluxes
- Parameters
-
Mdata | meteorological forcing |
Xdata | snow profile data |
runCanopyModel | should the canopy module also be called? |
adjust_height_of_wind_value | should the height of wind values be adjusted? |
◆ compRadiation()
◆ getStability() [1/2]
get the atmosphere stability
- Returns
- stability model (see possible values in constructor)
◆ getStability() [2/2]
Parse the given string an return the matching atmospheric stability algorithm.
- Parameters
-
[in] | stability_model | atmospheric stability model specification |
- Returns
- stability model
◆ operator=()
◆ projectPrecipitations()
void Meteo::projectPrecipitations |
( |
const double & |
slope_angle, |
|
|
double & |
precips, |
|
|
double & |
hs |
|
) |
| |
|
static |
Projects precipitations and snow height perpendicular to slope.
- Parameters
-
hs | Height of snow (m) |
precips | precipitations (kg m-2) |
slope_angle | (deg) |
◆ radiationOnSlope()
◆ setStability()
set the atmosphere stability to a given value
- Parameters
-
i_stability | stability model (see possible values in constructor) |
The documentation for this class was generated from the following files: