ssd2igl: Convert sunshine duration to global radiation

Description Usage Arguments Value Examples

Description

The function converts values of sunshine duration (in hours) to global radiation (in J/cm2/d)

Usage

1
ssd2igl(S, doy, a = 0.25, b = 0.5, rho = 50.29)

Arguments

S

Sunshine duration (hours)

doy

Julian day (for northern hemisphere only)

a, b, rho

site specific conversion parameters, must be fitted to measured data

Value

vector of converted values

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function(S, doy, a=0.25, b=0.5, rho=50.29) {
  xi <- 0.0172 * doy - 1.39
  S0 <- 12.3 + sin(xi) * (4.3 + (rho - 51))/6
  Rex <- 245 * (9.9 + 7.08 * sin(xi) + 0.18 * (rho - 51) * (sin(xi) - 1))
  Rex * (a + b * S/S0)
  }

rsachse/limnotools documentation built on Jan. 8, 2021, 5:37 a.m.