Learn R Programming

evapoRe (version 1.0.1)

esr: Calculate Extraterrestrial Solar Radiation (ESR)

Description

Computes extraterrestrial solar radiation (MJ m-2 day-1) based on latitude and day of the year.

Usage

esr(x)

# S4 method for Raster esr(x)

# S4 method for character esr(x)

Value

A `RasterBrick` of daily extraterrestrial solar radiation (MJ m-2 day-1).

Arguments

x

A `Raster*` object or a file path (`character`) to a raster file.

Details

For raster inputs, provide a `Raster*` object or file path (`character`) The function estimates extraterrestrial radiation.