Skip to contents

Apply a stock mask to an ocean cube

Usage

crop_stock(x, mask)

Arguments

x

An <ocean_cube> object.

mask

An <ocean_mask> object.

Value

A masked <ocean_cube> object.

Lifecycle

Deprecated as of oceancube 0.3.0. Use cube_crop() for rectangular selections or cube_mask() for polygon coverage. Neither function silently recreates the stock-specific distance-to-coast rule.