map_vessels.Rd
Generates monthly rasters describing the risk of vessel strikes from wind farm development activities, as defined in a scenario object.
map_vessels(
obj = NULL,
z = "dist",
strike_scalar = 1e-07,
which.month = 1:12,
vessel.speed = NULL,
speed.limit = NULL,
baseline = TRUE,
gantt = FALSE,
do.plot = FALSE,
spgdf = FALSE
)
An object of class narwscenario
.
Character. Output variable; can be one of "risk" (relative strike risk), "density" (transit density), "transits" (total number of transits per cell), or "dist" (total distance traveled per cell).
Numeric. Value of the factor used to scale the resulting strike surface(s).
Integer, or vector of integers. Months of the year for which strike rasters are returned; 1 corresponds to January, 2 to February etc.
Numeric vector. Nominal transit speeds for each vessel class (Cable Lay, Construction/Crane, Crew Transfer,Heavy Cargo, Support Vessels <100 m, Survey, Tugs).
Numeric vector of length 12, indicating the maximum speeds imposed during slow-downs for each month of the year. Months with NA
values are subject to no speed restrictions.
Logical. Defaults to FALSE
. If TRUE
, baseline conditions (excluding wind farm development activities) are included in the output.
Logical. Defaults to FALSE
. If TRUE
, a Gantt chart showing the schedule of piling is produced.
Logical. Defaults to FALSE
. If TRUE
, strike maps are generated.
Defaults to FALSE
. If TRUE
, output surfaces are returned as SpatialGridDataFrame
objects.
A list containing strike risk rasters for each month, in SpatialGridDataFrame
or raster
format.
if (FALSE) {
library(narwind)
vesselmaps <- map_vessels(obj = scenario_01,
z = "dist",
strike_scalar = 1e-7,
which.month = 1:12,
vessel.speed = NULL,
speed.limit = c(10,10,10,10,rep(NA,8)),
baseline = TRUE,
gantt = TRUE,
do.plot = TRUE,
spgdf = FALSE)
}
...............................
#> Error in eval(expr, envir, enclos): object '...............................' not found
...............................
#> Error in eval(expr, envir, enclos): object '...............................' not found
...............................
#> Error in eval(expr, envir, enclos): object '...............................' not found
...............................
#> Error in eval(expr, envir, enclos): object '...............................' not found
...............................
#> Error in eval(expr, envir, enclos): object '...............................' not found
...............................
#> Error in eval(expr, envir, enclos): object '...............................' not found