
Bilinear interpolation is used so that values will vary smoothly within a
longitude-latitude grid cell. Note that the sign convention for
longitude
and latitude
must match that in topo
.
topoInterpolate(longitude, latitude, topo)
Vector of longitudes (in the same sign convention as used in
topo
).
Vector of latitudes (in the same sign convention as used in
topo
).
A topo
object, i.e. inheriting from
topo-class
.
Vector of heights giving the elevation of the earth above means sea level at the indicated location on the earth.
Other things related to topo
data: [[,topo-method
,
[[<-,topo-method
, as.topo
,
download.topo
,
plot,topo-method
, read.topo
,
subset,topo-method
,
summary,topo-method
,
topo-class
, topoWorld
# NOT RUN {
library(oce)
data(topoWorld)
# "The Gully", approx. 400m deep, connects Gulf of St Lawrence with North Atlantic
topoInterpolate(45, -57, topoWorld)
# }
Run the code above in your browser using DataLab