spherical module

gridtools.spherical.angle_between(v1, v2, v3)

Returns angle v2-v1-v3 i.e betweeen v1-v2 and v1-v3.

gridtools.spherical.angle_through_center(p1, p2)

Angle at center of sphere between two points on the surface of the sphere. Positions are given as (latitude,longitude) tuples measured in degrees.

gridtools.spherical.quad_area(lat, lon)

Returns area of spherical quad (bounded by great arcs).