Description Usage Arguments Details Examples
View source: R/fao_penman_monteith.R
Get net shortwave radiation, Rs (FAO 56, Eq. 38) in MJ/m^2/day
1 | get_Rns_daily(Rs, albedo = 0.23)
|
Rs |
downward shortwave radiation, MJ/m^2/day |
albedo |
albedo or canopy reflectance, unitless |
This function calculates net shortwave radiation, in MJ/m^2/day. It uses Eq. 38 from FAO 56 in Chapter 3:
Rns = (1 - albedo) * Rs
Note that for reference ET0, albedo can be taken as 0.23 for hypothetical grass reference crop.
1 2 3 4 5 6 7 | lat <- -22.9 # Rio de Janeiro
date <- "2019-05-15"
n <- 220 / 31 # 220 hours in a month / 31 days
N <- get_daylight_hours(lat, date)
Ra <- get_Ra_daily(lat, date)
Rs <- get_Rs_daily(Ra, n, N)
Rns <- get_Rns_daily(Rs, albedo = 0.23)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.