Skip to contents

Find the name of the most appropriate coastline for a given locale Checks coastlineWorld, coastlineWorldFine and coastlineWorldCoarse, in that order, to find the one most appropriate for the locale.

Usage

coastlineBest(lonRange, latRange, span, debug = getOption("oceDebug"))

Arguments

lonRange

range of longitude for locale

latRange

range of latitude for locale

span

span of domain in km (if provided, previous two arguments are ignored).

debug

set to a positive value to get debugging information during processing.

Value

The name of a coastline that can be loaded with data().

Author

Dan Kelley