## The function is currently defined as
function (Tg = 20, Eground = 0.97)
{
GT <- Tg + 273.15
Lu <- Eground * StephBoltz() * (GT)^4
Lu
}
# Estimates ground generated longwave radiation rising up. Units W/m2.
# Example calculation:
Tg<-30
Eground<-0.97
Lu(Tg, Eground)Run the code above in your browser using DataLab