Bilinear rather than nearest-cell, so a station on a steep slope is not pinned to whichever 15 arc-second cell it happens to land in.
Usage
cc_bathy_depth(lon, lat, bathy = cc_bathy())Arguments
- lon, lat
numeric vectors of equal length, decimal degrees.
- bathy
raster from
cc_bathy(); pass one explicitly to avoid re-reading it per call.