plotOSCURS | R Documentation |
Function to plot particle tracks from OSCURS model runs on a map.
plotOSCURS(
tracks,
stLLs,
idCol = NULL,
strCRS = tmaptools::get_proj4(3338, output = "character"),
basemap = wtsGIS::createBaseTMap(layer.land = wtsGIS::getPackagedLayer("Alaska"),
layer.bathym = wtsGIS::getPackagedLayer("ShelfBathymetry"), strCRS.finl = strCRS),
alpha = 1,
showMap = TRUE,
verbose = FALSE
)
tracks |
|
stLLs |
|
idCol |
|
strCRS |
|
basemap |
|
alpha |
|
showMap |
|
verbose |
|
The returned list has the following elements:
map - a tmap object
tracks - a sf tibble with tracks that span the IDL to "roll your own" map
startLocs - a sf tibble with starting track locations as points to "roll your own" map
basemap - a basemap to "roll your own" map
The map object is in the Alaska Albers projection. If 'idCol' is NULL, then each row in stLLs is assumed to represent a unique starting location.
Requires packages dplyr
, magrittr
, sf
, tmap
, tmaptools
, wtsGIS
.
a list (see details)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.