FAILURE MAP
← Case archive

FA-55223 / Astronomical coordinate conventions / Member archive

Sidereal hour angle adapter: Apparent hour angle combines mean and apparent celestial quantities · case 03

The adapter reports an incorrect apparent hour angle while other fields remain valid.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

All angular values are exact model degrees. East longitude is positive. Local mean sidereal angle is gmst+lon, apparent sidereal includes eqeq, apparent RA is ra+dra. Hour angle is sidereal minus RA, normalized into [0,360). No Earth rotation is calculated. Output fields are defined by: local_mean = (d['gmst']+d['lon'])%360; local_apparent = (d['gmst']+d['lon']+d['eqeq'])%360; apparent_ra = (d['ra']+d['dra'])%360; mean_hour_angle = (d['gmst']+d['lon']-d['ra'])%360; apparent_hour_angle = (d['gmst']+d['lon']+d['eqeq']-d['ra']-d['dra'])%360; meridian_ra = (d['gmst']+d['lon']+d['eqeq']-d['dra'])%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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
astronomical fixture 0{"apparent_hour_angle": 84, "apparent_ra": 53, "local_apparent": 134, "local_mean": 132, "mean_hour_angle": 82, "meridian_ra": 131}{"apparent_hour_angle": 81, "apparent_ra": 53, "local_apparent": 134, "local_mean": 132, "mean_hour_angle": 82, "meridian_ra": 131}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 ↗