Learn R Programming

Mapinguari (version 1.0.0)

sradFUN: Spatialize Solar function from package EcoHydrology

Description

sradFUN Gets estimates of solar radiation for an area, based on maximum and minimum temperatures and altitude rasters by applying function Solar from package EcoHydrology

Usage

sradFUN(alt, tmax, tmin, separator = "_")

Arguments

alt

Raster* object. Altitude raster.

tmax

Raster* object. Maximum temperature raster.

tmin

Raster* object. Minimum temperature raster.

separator

character. Character that separates variable names, and scenarios.

Value

Returns a RasterLayer with estimates of Solar in kiloJoules by square meter by day.

Examples

Run this code
# NOT RUN {
srad <- sradFUN(df_alt, df_tmax, df_tmin)

# }

Run the code above in your browser using DataLab