Calculates the proportion of time a location is not within an area of shadow.
wbt_time_in_daylight(
dem,
output,
lat,
long,
az_fraction = 10,
max_dist = 100,
utc_offset = "00:00",
start_day = 1,
end_day = 365,
start_time = "00:00:00",
end_time = "23:59:59",
wd = NULL,
verbose_mode = NULL,
compress_rasters = NULL,
command_only = FALSE
)
Returns the tool text outputs.
Input raster DEM file.
Output raster file.
Centre point latitude.
Centre point longitude.
Azimuth fraction in degrees.
Optional maximum search distance. Minimum value is 5 x cell size.
UTC time offset, in hours (e.g. -04:00, +06:00).
Start day of the year (1-365).
End day of the year (1-365).
Starting hour to track shadows (e.g. 5, 5:00, 05:00:00). Assumes 24-hour time: HH:MM:SS. 'sunrise' is also a valid time.
Ending hour to track shadows (e.g. 21, 21:00, 21:00:00). Assumes 24-hour time: HH:MM:SS. 'sunset' is also a valid time.
Changes the working directory. Default: NULL
will use the value in WhiteboxTools settings, see wbt_wd()
for details.
Sets verbose mode. If verbose mode is FALSE
, tools will not print output messages. Default: NULL
will use the value in WhiteboxTools settings, see wbt_verbose()
for details.
Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters. Default: NULL
will use the value in WhiteboxTools settings, see wbt_compress_rasters()
for details.
Return command that would be executed by system()
rather than running tool. Default: FALSE
.