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.