itacart.geodesy.prime_vertical_radius

itacart.geodesy.prime_vertical_radius(lat_deg)[source]

Return the prime-vertical radius of curvature N at a latitude.

N(phi) = a / sqrt(1 - e^2 sin^2 phi). Together with cos phi it forms the radius of the parallel circle, which is the scale factor of Eq. (1).

Parameters:

lat_deg (float) – Geodetic latitude, in degrees.

Return type:

float

Returns:

Radius in metres, between a at the equator and a / sqrt(1 - e^2) at the pole.

Raises:

DomainError – If lat_deg is not finite or lies outside [-90, 90].