• Antelope Release 5.5 Linux 2.6.32-220.el6.x86_64 2015-04-21

 

NAME

compass_from_azimuth.pl - Perl routine to get compass heading from azimuth

SYNOPSIS

require "compass_from_azimuth.pl";

compass_from_azimuth(  $azimuth );

SUPPORT


Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.

FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.

DESCRIPTION

compass_from_azimuth takes an azimuth value in degrees and returns the closest value on a 16-point compass (N, NNW, NW, WNW, etc.).

EXAMPLE

BUGS AND CAVEATS

This could probably use an option to choose amongst 4, 8, and 16-point compass headings.

AUTHOR

Kent Lindquist, Geophysical Institute, U. of Alaska.
Antelope User Group Contributed Software
Printer icon