approx.lonlat: Extention of 'approx' for longitude and latitude

View source: R/approx.lonlat.R

approx.lonlatR Documentation

Extention of approx for longitude and latitude

Description

Linearly interpolate longitudes and latitudes to n equally spaced points spanning the interval (min(lon), max(lon)) and (min(lat), max(lat)).

Usage

approx.lonlat(lon, lat, n = 20, a = 6378000, verbose = FALSE)

Arguments

lon

longitudes

lat

latitudes

n

length of output

a

the radius of the earth (unit: m)

verbose

a boolean; if TRUE print information about progress


metno/esd documentation built on April 24, 2024, 9:19 p.m.