Learn R Programming

Mapinguari (version 1.0.0)

daylengthFUN: Gets average month day lengths for an area

Description

daylengthFUN Generates surfaces with information on day length for each month accross an area.

Usage

daylengthFUN(reference_raster)

Arguments

reference_raster

RasterStack or RasterLayer. Any raster representative of the area you want day lengths to. The day length raster will have the same projection, resolution and extension.

Value

Returns a RasterStack with 12 layers, one for each month, containing information on the duration of the day at each pixel.

Examples

Run this code
# NOT RUN {
daylengthFUN(df_alt)

# }

Run the code above in your browser using DataLab