View source: R/water_LSEBclass.R
| plot.waterLSEB | R Documentation |
Plot method for waterLSEB S3 class
## S3 method for class 'waterLSEB'
plot(x, ...)
x |
waterLSEB object. |
... |
further arguments passed to or from other methods. |
No return value, called for side effects (plots the NetRadiation, SoilHeat, SensibleHeat and LatentHeat layers of x$EB).
Guillermo Federico Olmedo
Other LSEB objects related functions:
plotAnchors(),
print.waterLSEB(),
summary.waterLSEB(),
writeRaster.waterLSEB
# 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]
Energy.Balance <- METRIC.EB(image.DN = image.DN, WeatherStation = WeatherStation, MTL = MTL,
sat = "L7", thermalband = image.DN$Thermal1, plain = TRUE)
plot(Energy.Balance)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.