spacepy.ctrans.Ellipsoid

class spacepy.ctrans.Ellipsoid(name='WGS84', A=6378.137, iFlat=298.257223563)[source]

Ellipsoid definition class for geodetic coordinates

Returns:
outEllipsoid

Ellipsoid instance storing all relevant paramters for geodetic conversion

Other Parameters:
namestr

Name for ellipsoid, stored in attrs of returned Ellipsoid instance. Default is ‘WGS84’

Afloat

Semi-major axis (equatorial radius) of ellipsoid in km. Default is 6378.137km (WGS84_A)

iFlatfloat

Inverse flattening of ellipsoid. Default is WGS84 value of 298.257223563.

Notes

Added in version 0.3.0.

__init__(name='WGS84', A=6378.137, iFlat=298.257223563)[source]

Base class for “Data Model” representation data

Abstract method, reimplement

Attributes:
attrsdict

dictionary of the attributes of the SpaceData object

Methods

Attributes

attrs: Mapping