Computes extraterrestrial solar radiation (MJ m-2 day-1) based on latitude and day of the year.
esr(x)# S4 method for Raster
esr(x)
# S4 method for character
esr(x)
A `RasterBrick` of daily extraterrestrial solar radiation (MJ m-2 day-1).
A `Raster*` object or a file path (`character`) to a raster file.
For raster inputs, provide a `Raster*` object or file path (`character`) The function estimates extraterrestrial radiation.