wrapLon: Wrap Locations Around the Dateline.

Description Usage Arguments Details Value

Description

These functions wrap and unwrap a sequence of longitudes around the dateline.

Usage

1
2
3
wrapLon(lon, lmin = -180)

unwrapLon(lon, lmin = -180)

Arguments

lon

a vector of longitudes

lmin

western boundary for wrapped longitudes

Details

The wrapLon function wraps the longitudes back into the interval [lmin,lmin+360). The unwrapLon function unwraps a sequence of longitudes so the the initial point lies in [lmin,lmin+360), but the subsequent longitudes in the sequence may wander outside that range.

Value

a vector of longitudes


KateGoodenough/RoL-SGAT documentation built on June 11, 2019, 1:29 p.m.