star-era 0.1.2
Earth Rotation Angle and IAU 2006 sidereal time
Public state: Released & Verified. The registry label is RELEASED. What the states mean →
Apache-2.0 Released & Verified single file
Summary
Earth Rotation Angle and IAU 2006 Greenwich Mean Sidereal Time from two-part Julian Dates over 1800-2200; reproduces the SOFA validation values to 1e-13 rad and agrees with ERFA and Skyfield within 4e-8 arcsec.
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 22 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:
- Install file · star_era-0.1.2-py3-none-any.whl 3 kB
- Single file — copy it alongside your code · star_era.py 3 kB
- Source code (.zip) 17 kB
python -m pip install star_era-0.1.2-py3-none-any.whlIn Python: import star_era
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_era_0_1_2,
author = {Cavazzini, Andrea},
title = {{star-era}: Earth Rotation Angle and IAU 2006 sidereal time},
version = {0.1.2},
year = {2026},
url = {https://andrea07072000.github.io/S.T.A.R.-/software/star_era/},
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-era @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_era"
Technical sheet
Requirements
- R1
era_deg(ut1_day, ut1_frac=0): ERA in degrees in [0, 360), IERS Conventions (2010) eq. 5.15. Reproduces the SOFA validation value to 1e-13 rad. - R2
gmst06_deg(ut1_day, ut1_frac, tt_day, tt_frac): ERA plus the IAU 2006 polynomial in TT (eq. 5.32). Reproduces the SOFA validation value to 1e-13 rad. - R3 Dates are two-part Julian Dates (any split); a nanosecond of UT1 stays visible. Measured on 1000 dates over 1800-2200: within 2.4e-8 arcsec of ERFA (ERA and GMST) and 3.6e-8 arcsec of Skyfield (ERA).
- R4 Every function returns a finite angle in [0, 360) or raises
ValueError: non-numeric, boolean, NaN or infinite input, a date outside 1800-01-01 to 2200-01-01.
Limits (what is not claimed)
Mean sidereal time only: no equation of the equinoxes (apparent sidereal time), no polar motion, and UT1 is an input (UT1 - UTC comes from the IERS, not from here). For the 1982 GMST model see star_sidereal.
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_era.py 0.924 (2026-10-07)
- Independent implementations written by others (needs 2)
- ERFA era00 / gmst06 (C, the open SOFA), Skyfield earth_rotation_angle (pure Python)
- Also compared with, not counted
- published values: SOFA validation values for era00 and gmst06
- Result
- Released & Verified
Evidence in the registry
| Check | Status | Recorded | What was observed |
|---|---|---|---|
| Unit tests | VERIFIED | 2026-10-07 | 22 passed in 0.79s |
| Review | VERIFIED | 2026-10-07 | Requirements, interface, units, data provenance, dependency surface and failure behaviour reviewed |
| Review | VERIFIED | 2026-10-07 | Re-running the cross-check gives a byte-identical evidence file |
| Reference value | VERIFIED | 2026-10-07 | ERA equal to the published value to the last double digit; GMST within 4e-15 rad (suite: 22 passed in 0.79s) |
| Cross-check with independent libraries | VERIFIED | 2026-10-07 | star_era reproduces the IAU 2000 Earth Rotation Angle and the IAU 2006 GMST of two independent implementations |
| Benchmark | VERIFIED | 2026-10-07 | largest difference by lineage: erfa: ERA 2.3e-08 arcsec, GMST 2.3e-08 arcsec; skyfield: ERA 3.5e-08 arcsec |
| Clean install from the release tag | VERIFIED | 2026-10-07 | pytest outside the tree: 22 passed in 0.17s |
| Clean install from the release tag | VERIFIED | 2026-10-07 | pytest outside the tree: 22 passed in 44.99s |
| Clean install from the release tag | VERIFIED | 2026-10-06 | pytest outside the tree: 18 passed in 0.11s |
Fingerprints (SHA-256)
| star_era-0.1.2-py3-none-any.whl | b0f62feaae0ee3707c0a6c28debd06df9f76c522aa44f26123f0fe4507e5b68a |
| star_era.py | b4a2b1a0cf05a226236016ca318e668d60e48248dd19790e1435860590b2e373 |
| star_era-0.1.2-source.zip | ba0a3a53430ae240eede8ff648d29f2b8c54ea3f5476ff7260d858ebf17a0243 |
