Learn R Programming

EcoHydRology (version 0.4.7)

NetRad: Title to be replaced Daily Net Radiation

Description

Daily net radiation [kJ m-2 d-1]

Usage

NetRad(lat, Jday, Tx, Tn, albedo, forest, slope, aspect, airtemp, cloudiness, surfemissivity, surftemp)

Arguments

lat
Jday
Tx
Tn
albedo
forest
slope
aspect
airtemp
cloudiness
surfemissivity
surftemp

Examples

Run this code
##---- 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(lat, Jday, Tx, Tn, albedo, forest, slope, aspect, airtemp, cloudiness, surfemissivity, surftemp){
# daily net radiation [kJ m-2 d-1]

return(Solar(lat,Jday,Tx,Tn,albedo,forest,slope,aspect)+Longwave(AtmosphericEmissivity(airtemp,cloudiness),airtemp)-Longwave(surfemissivity,surftemp))
  }

Run the code above in your browser using DataLab