-
big improvements to speed and efficiency for
get_fetch
-
providing
func =
inputs other than "mean", "min", "max", or "sum" raises an error telling the user to use one of those 4 functions -
ncores
argument has been replaced within_parallel
which is a logical that when TRUE, will run the calculations in parallel using the number of cores on the machine - 1. The number of cores is determined by theparallel::detectCores()
function -
Added
get_fetch_directions
function which will generate an 8 layerSpatRaster
with each layer being a wind fetch raster for one of the 8 cardinal directions (north, south, east, west, northeast, northwest, southeast, and southwest)