Generate a land mask function based on the Global Self-consistent, Hierarchical, High-resolution Geography Database.
The mask is provided at two (approximate) spatial resolutions: 0.1 degree and 0.05 degrees. The latter requires significantly more memory.
The mask is constant and the
tm argument to the mask is ignored.
1 2 3
numeric: the spatial resolution of the mask, in degrees (either 0.1 or 0.05)
function that returns a logical indicating whether the point is at sea (TRUE) or on land (FALSE)
Wessel, P., and W. H. F. Smith, A Global Self-consistent, Hierarchical, High-resolution Shoreline Database, J. Geophys. Res., 101, #B4, pp. 8741-8743, 1996. https://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.