| read.topo {oce} | R Documentation |
Read a file that contains topographic data in the ETOPO2 dataset, as provided by the NOAA website.
read.topo(filename)
filename |
name of a file containing an ETOPO2 dataset. |
An object of type class "topo",
which is a list containing the following items.
data |
a data frame containing lat,
lon, and z |
metadata |
a list containing the source filename |
processing.log |
a processing log, in the standard oce
format. |
Dan Kelley
http://www.ngdc.noaa.gov/mgg/gdas/gd_designagrid.html
## Not run:
library(oce)
topo.maritimes <- read.topo("~/maritimes.asc")
plot(topo.maritimes)
## End(Not run)