This function sets up a depth-stratified survey grid. A simple gradient in depth
is simulated using stats::spline()
(default), with a shallow portion, shelf, and
deep portion. Optionally, covariance can be added to the depth simulation.
Range (min x, max x) in the x dimension (km).
Range (min y, max y) in the y dimension (km).
Resolution of the grid cells (km).
Approximate depth of the shelf (m).
Approximate width of the shelf (km).
Range (min depth, max depth) of the depth values (m).
Number of divisions to include.
Depth breaks used to define strata.
Number of times to horizontally split strata (i.e., a way to increase the number of strata).
Choose "spline"
, "loess"
, or "bezier"
to generate a smooth gradient, or use "linear"
for linear interpolation.
A stars
object with 2 dimensions (x
and y
) and 4 attributes (depth
, cell
, division
, strat
).