Calculates log(lux) values for a give location, date, time and sky conditions.

diurnal(par, data, loc, ...)

Arguments

par

Three parameters specifying the illuminance model.

data

A data frame with the required drivers for the illuminance model.

loc

previous location

...

optional other parameters to forward

Value

Sky illuminance as log(lux).