pyinterp.core.geodetic.Spheroid#

class pyinterp.core.geodetic.Spheroid(self, semi_major_axis: float, flattening: float)#

Bases: _Spheroid

World Geodetic System (WGS).

Parameters:
  • semi_major_axis – Semi-major axis of ellipsoid, in meters.

  • flattening – Flattening of ellipsoid.

Note

The default constructor initializes a WGS-84 ellipsoid.

Attributes

flattening

Flattening of ellipsoid (\(f=\frac{a-b}{a}\)).

semi_major_axis

Semi-major axis of ellipsoid, in meters (\(a\)).

Public Methods

authalic_radius(self)

Gets the authalic radius.

axis_ratio(self)

Gets the axis ratio.

equatorial_circumference(self[, semi_major_axis])

Gets the equatorial circumference.

equatorial_radius_of_curvature(self)

Gets the equatorial radius of curvature for a meridian.

first_eccentricity_squared(self)

Gets the first eccentricity squared.

geocentric_radius(self, lat)

Gets the geocentric radius at the given latitude $phi$.

linear_eccentricity(self)

Gets the linear eccentricity.

mean_radius(self)

Gets the mean radius.

polar_radius_of_curvature(self)

Gets the polar radius of curvature.

second_eccentricity_squared(self)

Gets the second eccentricity squared.

semi_minor_axis(self)

Gets the semiminor axis.

volumetric_radius(self)

Gets the volumetric radius.

Special Methods

__eq__(self, other)

Overrides the default behavior of the == operator.

__getstate__(self)

__ne__(self, other)

Overrides the default behavior of the != operator.

__setstate__(self, arg0)