FA-55419 / Astronomical coordinate conventions / Member archive
Solar longitude conventions: Inverse solar longitude conversion fails across the central-meridian wrap · case 04
The adapter reports an incorrect stonyhurst from carrington while other fields remain valid.
Case contract
A reduced solar adapter stores Stonyhurst longitude s relative to central meridian C. Carrington longitude is C+s modulo a turn. A west-positive disk offset is supplied separately; rotation transport over dt uses rates r for feature and rc for central meridian. Angles are model degrees. Output fields are defined by: carrington = (d['C']+d['s'])%360; stonyhurst_from_carrington = ((d['C']+d['s'])%360-d['C']+180)%360-180; image_east_offset = -d['west']; transported_feature = (d['C']+d['s']+d['r']*d['dt'])%360; transported_relative = (d['s']+(d['r']-d['rc'])*d['dt']+180)%360-180; central_meridian = (d['C']+d['rc']*d['dt'])%360
Why this case matters
Catalog, detector, sky-coordinate, and spectroscopy adapters must preserve the association between numeric coordinates and their declared reference conventions.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| astronomical fixture 1 | {"carrington": 13, "central_meridian": 16, "image_east_offset": -3, "stonyhurst_from_carrington": -337, "transported_feature": 41, "transported_relative": 25} | {"carrington": 13, "central_meridian": 16, "image_east_offset": -3, "stonyhurst_from_carrington": 23, "transported_feature": 41, "transported_relative": 25} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗