wrapLon: Dateline adjustment

Description Usage Arguments Details Value

Description

Wrapping Locations 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

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

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


SWotherspoon/Marseille documentation built on May 9, 2019, 12:05 p.m.