Description Usage Arguments Value
View source: R/sun_shadow_day.R
The ouput of the function is a tibble given the suns every minute position and if there is direct sunlight (obstructed by mountains/hills)
1 | sun_shadow_day(location, day_of_year, ray_length, ray_intervals, zoom_level)
|
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, |
tbl_sun_shadow is a tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.