An internal utility function to clip ocean current data frames to fit the boundaries of a basemap

clip_current(dt, X, shrink = 0.5)

Arguments

dt

data frame containing ocean currents. Must be run through the tidy function to contain long, lat and group columns.

X

A basemapData object

shrink

numeric between 0 and 100 defining the percentage of clipping ocean current arrows to be done vertically and horizontally.