read.topo {oce} | R Documentation |
Read a file that contains topographic data in the ETOPO dataset, as provided by
the NOAA website (see download.topo
for a good server for such
files.
read.topo(file, debug = getOption("oceDebug"))
file |
Name of a file containing an ETOPO-format dataset. Three types are permitted; see “Details”. |
debug |
an integer specifying whether debugging information is
to be printed during the processing. This is a general parameter that
is used by many |
The three permitted file types are as follows: (1) an ascii type described
by NOAA as "?"; (2) a NetCDF format described by NOAA as "GMT NetCDF"
(recognized by the presence of a variable named ), and
(3) another NetCDF format described by NOAA as "NetCDF" (recognized
by the presence of a variable called ). Files in each of these formatss
can be downloaded with download.topo
.
An object of type topo-class
that which has the following slots.
|
: a data frame containing |
|
: a list containing the source filename |
|
: a log, in the standard |
Dan Kelley
Other things related to topo
data: [[,topo-method
,
[[<-,topo-method
, as.topo
,
download.topo
,
plot,topo-method
,
subset,topo-method
,
summary,topo-method
,
topo-class
, topoInterpolate
,
topoWorld
## Not run: library(oce) topoMaritimes <- read.topo("topoMaritimes.asc") plot(topographyMaritimes) ## End(Not run)