returns a buffered land mask to constrain potential model results
stk_mask(buffer = 0, resolution = 1, bbox, sf = FALSE)
buffer in degrees
resolution of the spatial grid in degrees, when exporting as a terra SpatRaster (default = 1)
bounding box of the mask, sets hard boundaries on the search area of valid locations as well
return the land mask as an 'sf' polygon, not a rasterized map. Mostly used in map plotting, not used for processing (default = FALSE)
buffered land mask as an 'sf' or 'terra' map object