subsetTOPO {GEOmap}R Documentation

Subset a Topo map

Description

Extract a subset of a topo DEM

Usage

subsetTOPO(TOPO, ALOC)

Arguments

TOPO DEM list including x,y,z
ALOC list including LAT LON vectors for extracting an array from the DEM

Details

Used for extracting a subset of ETOPO5 or ETOPO2

Value

x vector x-coordinates
y vector y-coordinates
z 2D matrix of elevations

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

GEOTOPO

Examples

library(geomapdata)
data(ETOPO5)
PLOC=list(LON=c(137.008, 141.000),LAT=c(34.000, 36.992),
            x=c(137.008, 141.000), y=c(34.000, 36.992) )

JAPANtopo = subsetTOPO(ETOPO5, PLOC)


[Package GEOmap version 1.4-0 Index]