calc_in_lwr | R Documentation |
Calculates incoming LWR using cloud cover, air temperature and relative humidity (or dewpoint temperature). Using formula from: http://www.seao2.info/_TMP/longwave.pdf
calc_in_lwr(cc, airt, relh = NULL, dewt = NULL)
cc |
vector; cloud cover values (Fraction [0-1]) |
airt |
vector; air temperature values (Celsius) |
relh |
vector; relative humidity values (% [0-100]). Used to calculate dewpoint temperaure if that is not supplied. Defaults to NULL. |
dewt |
vector; dewpoint temperature values (Celsius). Can be used instead of relative humidity, otherise it is calculated from relative humidity and air temperature. Defaults to NULL |
vector of incoming long-wave radiation values
met_file <- system.file('extdata/met_file.dat', package = 'GOTMr')
met <- read.delim(met_file)
lwr_in <- calc_in_lwr(cc = met$CC, airt = met$AirT, dewt = met$DewT)
plot(lwr_in)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.