difflon function

Difference between Longitudes

Difference between Longitudes

difflon(LON1, LON2)

Arguments

  • LON1: Longitude in degrees
  • LON2: Longitude in degrees

Details

takes into account crossing the zero longitude

Returns

  • deg: degrees difference

  • sn: direction of rotation

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples

difflon( 34 , 67) ### here we cross the zero line difflon( 344 , 67)
  • Maintainer: Jonathan M. Lees
  • License: GPL (>= 2)
  • Last published: 2024-07-09

Useful links