netRadiation: Estimates net radiation

View source: R/water_netRadiation.G.R

netRadiationR Documentation

Estimates net radiation

Description

This function estimates net radiation considering a surface radiation balance. Equations use the information from the image, in addition to measurements of actual vapor pressure and altitude.

Usage

netRadiation(LAI, albedo, Rs.inc, Rl.inc, Rl.out)

Arguments

LAI

SpatRaster with leaf area index, from LAI()

albedo

broadband surface albedo, from albedo()

Rs.inc

incoming short-wave radiation (W/m2), from incSWradiation()

Rl.inc

incoming long-wave radiation (W/m2), from incLWradiation()

Rl.out

outgoing long-wave radiation (W/m2), from outLWradiation()

Value

SpatRaster with net radiation (W/m2).

Author(s)

Guillermo Federico Olmedo

David Fonseca-Luengo

References

R. G. Allen, M. Tasumi, and R. Trezza, "Satellite-based energy balance for mapping evapotranspiration with internalized calibration (METRIC) - Model" Journal of Irrigation and Drainage Engineering, vol. 133, p. 380, 2007

See Also

Other net radiation related functions: LAI(), METRICtopo(), SWtransmissivity(), albedo(), incLWradiation(), incSWradiation(), outLWradiation(), soilHeatFlux(), solarAngles(), surfaceTemperature()

Examples

# a small window of the Landsat 7 example scene, to run quickly
MTL <- system.file("extdata", "L7.MTL.txt", package = "water")
WeatherStation <- read.WSdata(WSdata = system.file("extdata", "apples.csv", package = "water"),
  date.format = "%d/%m/%Y", lat = -35.42222, long = -71.38639, elev = 201, height = 2.2,
  cf = c(1, 0.2777778, 1), tz = "America/Santiago", MTL = MTL)
image.DN <- terra::rast(L7_Talca)[1:60, 1:80, drop = FALSE]
DEM <- terra::rast(DEM_Talca)[1:60, 1:80, drop = FALSE]
surface.model <- METRICtopo(DEM)
solar.angles <- solarAngles(surface.model = surface.model,
                            WeatherStation = WeatherStation, MTL = MTL)
Rs.inc <- incSWradiation(surface.model = surface.model, solar.angles = solar.angles,
                         WeatherStation = WeatherStation)
image.TOAr <- calcTOAr(image.DN, sat = "L7", MTL = MTL,
                       incidence.rel = solar.angles$incidence.rel)
image.SR <- suppressWarnings(calcSR(image.TOAr, sat = "L7", surface.model = surface.model,
                   incidence.hor = solar.angles$incidence.hor, WeatherStation = WeatherStation))
albedo <- albedo(image.SR, coeff = "Tasumi", sat = "L7")
LAI <- LAI(method = "metric2010", image = image.TOAr, L = 0.1)
Ts <- suppressWarnings(surfaceTemperature(image.DN = image.DN, LAI = LAI, sat = "L7",
                                          WeatherStation = WeatherStation))
Rl.out <- outLWradiation(LAI = LAI, Ts = Ts)
Rl.inc <- incLWradiation(WeatherStation, DEM = surface.model$DEM,
                         solar.angles = solar.angles, Ts = Ts)
Rn <- netRadiation(LAI, albedo, Rs.inc, Rl.inc, Rl.out)
plot(Rn)

water documentation built on Nov. 25, 2026, 5:08 p.m.