SWAT - atmosphere.weather¶
- class mef_agri.models.atmosphere.weather.model_swat.Weather_V2009(**kwargs)¶
This model inherits from
ssc_csm.models.atmosphere.weather.inca_obs.WeatherINCA
and computes further quantities from the INCA observations based on [R1] .Used constants
SPECIFIC_HEAT = 1.013e-3
- \(\frac{MJ}{kg\cdot\ ^\circ C}\)GRAVITY = 9.80665
- \(\frac{m}{s^2}\)MOLAR_MASS_DRY_AIR = 0.02896968
- \(\frac{kg}{mol}\)SEALVL_STD_TEMP = 288.15
- \(^\circ K\)UNIV_GAS_CONST = 8.314462618
- \(\frac{J}{mol\cdot ^\circ K}\)
- initialize(epoch)¶
Get site height/elevation from model-tree.
- Parameters:
epoch (datetime.date) – initialization epoch
- latent_heat()¶
MQ - Random Output
\(a_{\textrm{lhv},k}\ [\frac{MJ}{kg}]\) - [R1] (equ. 1:2.3.6)
- Returns:
latent heat of vaporization
- Return type:
numpy.ndarray
- pressure()¶
MQ - Random Output
\(a_{\textrm{apr},k}\ [kPa]\) - https://en.wikipedia.org/wiki/Barometric_formula
- Returns:
atmospheric pressure at site elevation (computed with barometric formula)
- Return type:
numpy.ndarray
- psychrometric_const()¶
MQ - Random Output
\(a_{\textrm{psyc},k}\ [\frac{kPa}{^\circ C}]\) - [R1] (equ. 1:2.3.7)
- Returns:
psychrometric constant at site elevation
- Return type:
numpy.ndarray
- slope_vpr_sat()¶
MQ - Random Output
\(a_{\textrm{slp-vpr}}\ [\frac{kPa}{^\circ C}]\) - [R1] (equ. 1:2.3.4)
- Returns:
slope of the saturated vapor pressure curve \(\frac{\delta a_{\textrm{vprs},k}}{\delta a_{\textrm{temp},k}}\)
- Return type:
numpy.ndarray
- temperature_mean_annual()¶
MQ - Hyper-Parameter
\(a_{\bar{\textrm{t}}}\ [^\circ C]\)
- Returns:
mean annual temperature
- Return type:
numpy.ndarray
- update(epoch)¶
The following computations are performed
- Parameters:
epoch (datetime.date) – current evaluation epoch