windSpeed_->get(t,windSpeed);///< U2 being the wind speed at 2-m height in m/s
// The aerodynamic resistance equation for open air estimations reduces to r_a = 208./U2;
// An alternative, semi-empirical, equation of ra (Thom and Oliver, 1977)
// is used for greenhouse conditions (Stanghellini equation), characterized by low wind speed (<1 m s-1)
// There is always a little bit of wind or convection
if(windSpeed<0.5)windSpeed=0.5;
}else{
windSpeed=2.;
msg::warning("AerodynamicResistance: No wind speed is set by user. Assuming a wind speed of 2 m/s.");
}
// There is always a little bit of wind or convection
if(windSpeed<0.5)windSpeed=0.5;
// Allen, Richard G., et al. "Crop evapotranspiration-Guidelines for computing crop water requirements-FAO Irrigation and drainage paper 56." Fao, Rome 300.9 (1998): D05109.
// See also http://www.fao.org/3/X0490E/x0490e06.htm
if(r_a<=0)msg::error("AerodynamicResistance: Aerodynamic resistance smaller than or equal to 0. Check if crop height is less than 2, if not, adjust measurement height in the code.");