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.
Usage
read.topo(file, debug = getOption("oceDebug"))
Arguments
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 oce functions. Generally, setting debug=0
turns off the printing, while higher values suggest that more information
be printed.
Value
An object of type topo-class that which has the following slots.
that which has the following slots.
Details
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.