View source: R/water_netRadiation.G.R
| METRICtopo | R Documentation |
The DEM is used to generate the surface representation of the image through aspect and slope maps. This procedure helps to avoid differences in the surface temperature (and finally evapotranspiration) caused by different incidence angles and/or elevations in mountainous areas. A constant DEM (plain = TRUE in METRIC.EB()) gives a flat surface everywhere, without an NA border.
METRICtopo(DEM)
DEM |
SpatRaster with a digital elevation model (m) |
SpatRaster with layers DEM (m), Slope and Aspect (radians; Aspect is shifted by -pi, as METRIC expects).
Guillermo Federico Olmedo
David Fonseca-Luengo
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
Other net radiation related functions:
LAI(),
SWtransmissivity(),
albedo(),
incLWradiation(),
incSWradiation(),
netRadiation(),
outLWradiation(),
soilHeatFlux(),
solarAngles(),
surfaceTemperature()
# 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)
plot(surface.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.