sun_shadow_day: sun_shadow_day

Description Usage Arguments Value

View source: R/sun_shadow_day.R

Description

The ouput of the function is a tibble given the suns every minute position and if there is direct sunlight (obstructed by mountains/hills)

Usage

1
sun_shadow_day(location, day_of_year, ray_length, ray_intervals, zoom_level)

Arguments

day_of_year

is the # of day in the year, 1 = 1. January,

ray_length

is radius of interest, arbitrary 10km,

ray_intervals

is the distance between point on one ray to check, arbitrary 100m

zoom_level

is the accuracy of the raster to get elevation from a point. 15 is the highest but it is very slow.

location:

need to be a vector = c(long, lat) according to WGS 84,

Value

tbl_sun_shadow is a tibble


oubifahrni/reval documentation built on Dec. 31, 2020, 1:10 a.m.