Repository navigation
Issue-198: V12: record the Horizons quantities for tail angles and position uncertainty - #220
Conversation
…sition uncertainty A3.4 gets the quantity codes (27, 36 to 38), the column names and units from a real 433 Eros reply (20 Mar 2026, from SPHEREx) and the query used. The V12 row in A22.14 now reads Resolved. Docs only; horizons.py is unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
KevinYerkiah
left a comment
There was a problem hiding this comment.
Approving: the facts check out. I re-ran the exact query (433 Eros, CENTER='500@-163182', TLIST='2461119.856750', QUANTITIES='1,27,36,37,38') and the header and row match byte for byte. The definitions of 27, 36, 37 and 38 match the Horizons manual, including the "formal / optimistic" caution. The numbers are consistent: √(0.019² + 0.012²) ≈ 0.022 = POS_3sigma, and π·0.019·0.012 ≈ 0.00071 = Area_3sig.
A few small things, ideally folded into this PR:
Worth fixing here
docs/architecture/discovery-hunts.md:838(A22.9.5, H5 "Open") still lists "the exact Horizons quantities for the two angles" as open, which now contradicts the V12 row. Please mark it resolved and link to A3.4.docs/architecture/moving-objects/track.md:42: quantity 36 is now verified against real output, so the [verify] tag can go. The contradiction noted in the PR body isn't really one: Track'sexact_positionspath asks only forQUANTITIES='1'(horizons.py:217), andSIGMA_QUANTITIESis used only by Area search (A17.5).
Nits
3. docs/architecture/data-sources.md:87: horizons.py also asks for plain 1 (ephemeris / ephemeris_range). Suggest: "asks for 1, 1,24 and 1,36; never 27, 37 or 38".
4. data-sources.md Traps: worth adding that Horizons returns n.a. when a quantity isn't available (e.g. uncertainties for an object with no covariance). This matters for H4; parse_sigma already maps it to None.
5. Optional: note that Eros's hundredths-of-an-arcsecond uncertainties aren't representative for H4's match radius.
6. discovery-hunts.md:346 says the Sun and velocity position angles are "Tested (as built)", but no code requests quantity 27 yet. Suggest "Tested 25 Nov 2026 (quantity 27, A3.4); not requested by the adapter yet".
7. Optional: one clause saying these values are tagged model_dependent when used, matching track-contract.md:16.
None of these block the merge.
Marks the H5 open item resolved, drops the [verify] on quantity 36, corrects the list of quantities horizons.py requests, says the adapter does not request quantity 27 yet, and adds notes on n.a. values, Eros's small uncertainties and the model_dependent tag. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@KevinYerkiah thanks for the review. All seven comments are folded in (see "Review changes" in the description). Two small additions to your wording: [verify] on the "no covariance" example (comment 4), as I have not seen it in a real reply, and "Tested (as built)" kept in front on the A22.6 row (comment 6) for the positions. I will merge once |
Closes #198
What
docs/architecture/data-sources.md: a new block in A3.4 with the Horizons quantity codes, the column names and units from a real reply, the query used, and cautions for reading the reply.PsAng,PsAMV(deg).RA_3sigma,DEC_3sigma(arcsec).SMAA_3sig,SMIA_3sig(arcsec),Theta(deg),Area_3sig(arcsec²).POS_3sigma(arcsec).docs/architecture/discovery-hunts.md: the V12 row in A22.14 now reads Resolved, in one line, linking to A3.4.Docs only.
backend/app/adapters/horizons.pyis unchanged.Queries run (25 Nov 2026)
COMMAND='DES=20000433;',CENTER='500@-163182',TLIST_TYPE='JD',TIME_TYPE='UT',TLIST='2461119.856750'(2026-Mar-20 08:33:43.200 UT),QUANTITIES='1,27,36,37,38',ANG_FORMAT='DEG',CSV_FORMAT='YES',EXTRA_PREC='YES'. The full header and row are in A3.4.Review changes (Kevin's seven comments)
track.mdA19.4: removed the [verify] on quantity 36 and namedexact_positionsas the path that does not ask for it.horizons.pyrequests; added notes onn.a.values, Eros's small uncertainties and themodel_dependenttag.No decisions entries and no new issues.