topo2: World topography on a 2-degree grid

topo2R Documentation

World topography on a 2-degree grid

Description

topo2 is a matrix containing world topography data, on a 2-degree grid. This is provided for occasions where the higher resolution topography in topoWorld from the Oce package is not needed. See “Examples” for a plot that illustrates the longitude and latitude grid for the data.

Usage

data(topo2, package="ocedata")

Details

The data are calculated by applying decimate() to the topoWorld dataset from the oce package, followed by extraction of the "z" value.

Examples

# Coastline and 2 km isobath
data(topo2, package="ocedata")
lon <- seq(-179.5, 178.5, by=2)
lat <- seq(-89.5, 88.5, by=2)
contour(lon, lat, topo2, asp=1, drawlabels=FALSE,
    level=c(0,-2000), col=c(1,2))

ocedata documentation built on Aug. 19, 2022, 5:23 p.m.