Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Angles and Great Circles

Authors
Affiliations
NSF National Center for Atmospheric Research
Illustrating the spherical triangles forming the pentagramma mirificum on Wikipedia

Angles and Great Circles


Overview

Multiple great circle paths will always intersection at some point along the globe, and at these points, they form internal angles.

  1. Determine the acute and obtuse angle formed by two great circle paths

  2. Determine the directed angle formed by two great circle paths based on an intersection point

Prerequisites

ConceptsImportanceNotes
NumpyNecessaryUsed to work with large arrays
PandasNecessaryUsed to read in and organize data (in particular dataframes)
Intro to CartopyHelpfulWill be used for adding maps to plotting
MatplotlibHelpfulWill be used for plotting
  • Time to learn: 30 minutes


Imports

  • Import Packages

  • Setup location dataframe with coordinates

Loading...

Determine the acute and obtuse angle formed by two great circle paths

At an intersection point, two great circle paths will form both an acute and obtuse angle.

Acute Angle  = 30.646334650419192 degrees
Obtuse Angle = 149.3536653495808 degrees
(149.3536653495808, 30.646334650419192)

Determine the directed angle formed by two great circle paths based on an intersection point

Overview of Directed Angles

Most angles are undirected angles, where the configuration of the sides that form the angle are not important. A directed angle is useful when the configuration and ordering of the sides is important.

For example, three points A, B, and C, define the sides of an angle (A->B and A->C) where A is the intersection point of the two arcs AB and AC. An undirected angle will return an unsigned value. However, a directed angle returns a signed angle, where it is:

  • Positive if C is to the left of the great circle arc AB

  • Negative if C is to the right of the great circle arc AB

So, a directed positive angle is counterclockwise, while a negative angle is clockwise.

Calculate Intersection Point Between Two Great Circle Paths

Intersection points between great circle arc 1 (Boulder -> Boston) and 2 (Johannesburg -> Reykjavík): 
[(-12.168951714418165, 22.965145304597574), (12.168951714418165, -157.03485469540243)]
-30.64633465041918
-30.646334650419192

Plot Directed Angle

A negative directed angle is clockwise, while a positive directed angle is counterclockwise. This can be easier to understand when plotted. The directed angle is measured counterclockwise from the first coordinate.

Directed Angle Definition: "Given any two non-parallel lines l and m, we define the directed angle to be measured of the angle starting from l and ending at m, measured counterclockwise. So the angle lm and the angle ml are 180 degrees

See more: Directed Angles

<Figure size 1500x1000 with 2 Axes>
<Figure size 1500x1000 with 2 Axes>
<Figure size 1500x1000 with 2 Axes>
<Figure size 1500x1000 with 2 Axes>

Summary

In this notebook, we determined how to find the angles and directed angle formed by the intersection of two great circle paths.

What’s next?

Up next, we will cover how to calculate spherical polygons and the area of spherical polygons.

Resources and references