← All packages

Geodesy & maps

star-ellipsoid 0.1.0

The WGS-84 ellipsoid as a surface

Public state: Released & Verified. The registry label is RELEASED. What the states mean →

Apache-2.0 Released & Verified single file

Summary

Radii of curvature, geocentric radius, geocentric / parametric / rectifying latitude and meridian arc on WGS-84 at a geodetic latitude; agrees with pymap3d and PyGeodesy to rounding (arc within 4e-9 m) and refuses latitudes outside [-90, 90].

Run in your browser

Edit the code and press Run (or Ctrl+Enter). Python runs in your browser with this package's published code. The first run downloads Python once (about 12 MB).

Runs in the browser: all 32 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026.

Use it on your computer

No account and no GitHub needed. Download, then install with one command:

python -m pip install star_ellipsoid-0.1.0-py3-none-any.whl

In Python: import star_ellipsoid

Get started →

Cite it, and its bill of materials

For a paper, a report or a supplier file: the citation in two formats, and the software bill of materials (SBOM) in the two standard formats, with the fingerprint of the wheel.

@software{cavazzini_star_ellipsoid_0_1_0,
  author  = {Cavazzini, Andrea},
  title   = {{star-ellipsoid}: The WGS-84 ellipsoid as a surface},
  version = {0.1.0},
  year    = {2026},
  url     = {https://andrea07072000.github.io/S.T.A.R.-/software/star_ellipsoid/},
  note    = {Apache-2.0. Source: https://github.com/Andrea07072000/S.T.A.R.-, commit dc09f61d}
}

For developers

Install directly from the public repository:

python -m pip install "star-ellipsoid @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_ellipsoid"

README · tests · evidence (GitHub)

Technical sheet

Package
star-ellipsoid
Import name
star_ellipsoid
Version
0.1.0
Licence
Apache-2.0
Python
>=3.9
Dependencies
none (standard library only)
Capability
star.geodesy.ellipsoid
Maturity
Released & Verified (RELEASED)
Published commit
dc09f61d

Requirements

  • R1 meridian_radius, prime_vertical_radius, gaussian_radius, geocentric_radius (metres) at a geodetic latitude in degrees; WGS-84 constants as published.
  • R2 geocentric_latitude, parametric_latitude, rectifying_latitude (degrees); meridian_arc (metres from the equator, negative in the south; Helmert's series to n^5) and MERIDIAN_QUADRANT = 10 001 965.729 m.
  • R3 Measured on 505 latitudes against pymap3d and PyGeodesy: radii within 5e-16 relative, auxiliary latitudes within 5e-14 deg, meridian arc within 4e-9 m.
  • R4 Every function returns a finite float or raises ValueError: non-numeric, boolean, NaN or infinite input, and any latitude outside [-90, 90] (not wrapped).

Limits (what is not claimed)

The ellipsoid, not the Earth: no geoid, no terrain height. WGS-84 only (GRS80 differs in the tenth digit of f).

Release gate

Computed by the registry from the result files, with the same function that decides RELEASED.

Mutation score, latest measure of each module (needs at least 0.850)
  • star_ellipsoid.py 0.895 (2026-10-06)
Independent implementations written by others (needs 2)
PyGeodesy Ellipsoids.WGS84, pymap3d rcurve / latitude
Also compared with, not counted
published values: WGS-84 derived constants (NIMA TR8350.2)
Result
Released & Verified

Evidence in the registry

CheckStatusRecordedWhat was observed
Unit testsVERIFIED2026-10-0632 passed in 0.46s
ReviewVERIFIED2026-10-06Requirements, interface, units, data provenance, dependency surface and failure behaviour reviewed
ReviewVERIFIED2026-10-06Re-running the cross-check gives a byte-identical evidence file
Reference valueVERIFIED2026-10-06b, e^2, polar radius of curvature and meridian quadrant reproduced to the printed digits (suite: 32 passed in 0.46s)
Cross-check with independent librariesVERIFIED2026-10-06star_ellipsoid agrees with two independent libraries on every quantity it returns, from pole to pole
BenchmarkVERIFIED2026-10-06largest difference by quantity: pymap3d: meridian_radius 4.4e-16, prime_vertical_radius 2.9e-16, geocentric_radius 4.4e-16, geocentric_latitude 1.4e-14, parametric_latitude 1.4e-14, rectifying_latitude 8.0e-13; pygeodesy: meridian_radius 4.4e-16, prime_vertical_radius 1.5e-16, gaussian_radius 1.5e-16, geocentric_radius 2.9e-16, geocentric_latitude 1.4e-14, parametric_latitude 1.8e-14, rectifying_l
Clean install from the release tagVERIFIED2026-10-06pytest outside the tree: 32 passed in 0.19s

Fingerprints (SHA-256)

star_ellipsoid-0.1.0-py3-none-any.whl2be5697ee4f378dde947eed9545899a9f1d1b8d597b191ea36f2e3df87e57d1f
star_ellipsoid.py83607f7ebe9c08fb230906abcd647228f41034490cd9bb0789bb60120c637ba5
star_ellipsoid-0.1.0-source.zipb45b3ff88512511a5e7d7e720e6912467155155b0f75bb94b7a0bfad877039a5

results