Skip to content

Issue-198: V12: record the Horizons quantities for tail angles and position uncertainty - #220

Merged
dhruv-bhantoo merged 2 commits into
devfrom
docs/198-horizons-quantities
Nov 26, 2026
Merged

dhruv-bhantoo merged 2 commits into
devfrom
docs/198-horizons-quantities

Conversation

@dhruv-bhantoo

@dhruv-bhantoo dhruv-bhantoo commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

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.
    • Quantity 27: PsAng, PsAMV (deg).
    • Quantity 36: RA_3sigma, DEC_3sigma (arcsec).
    • Quantity 37: SMAA_3sig, SMIA_3sig (arcsec), Theta (deg), Area_3sig (arcsec²).
    • Quantity 38: 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.py is unchanged.

Queries run (25 Nov 2026)

  • One real Horizons OBSERVER query for 433 Eros: 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.
  • A read of the Horizons manual (Observer Table Quantities) for the quantity definitions.

Review changes (Kevin's seven comments)

  • A22.9.5: the Horizons angle quantities are marked resolved, linking to A3.4.
  • track.md A19.4: removed the [verify] on quantity 36 and named exact_positions as the path that does not ask for it.
  • A3.4: corrected the quantities horizons.py requests; added notes on n.a. values, Eros's small uncertainties and the model_dependent tag.
  • A22.6: the Horizons status now separates positions (as built) from the position angles (tested, not requested yet).

No decisions entries and no new issues.

…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 KevinYerkiah left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

  1. 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.
  2. 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's exact_positions path asks only for QUANTITIES='1' (horizons.py:217), and SIGMA_QUANTITIES is 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>
@dhruv-bhantoo

Copy link
Copy Markdown
Collaborator Author

@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 ci-gate passes.

@dhruv-bhantoo
dhruv-bhantoo added this pull request to the merge queue Nov 26, 2026
Merged via the queue into dev with commit c92d422 Nov 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

V12: which JPL Horizons quantities give tail angles and position uncertainty

2 participants