Skip to content

Issue-192: V6: record the IRSA table and column names for CatWISE2020, AllWISE and 2MASS - #219

Merged
dhruv-bhantoo merged 4 commits into
devfrom
docs/192-irsa-tap-tables
Nov 26, 2026
Merged

dhruv-bhantoo merged 4 commits into
devfrom
docs/192-irsa-tap-tables

Conversation

@dhruv-bhantoo

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

Copy link
Copy Markdown
Collaborator

Closes #192

What

  • Adds the IRSA table and column facts for catwise_2020, allwise_p3as_psd and fp_psc in a new fragment, docs/architecture/irsa-catalogues.md (A3.3.1): table, position, epoch, proper motion, W1/W2 (and W3/W4) and J/H/Ks magnitudes with errors, quality flags and units. A3.3 keeps a one-line pointer. The section map and routing table are updated.
  • docs/architecture/discovery-hunts.md:
    • V6 (A22.14) is one line, Resolved, linking to A3.3.1; its row is removed from the "which item blocks which ticket" table.
    • The WISE and 2MASS rows of A22.6 drop the "[verify]" on the table names.
    • A22.9.9 gains a [verify] note: the n_2mass search radius is not stated in the column description.
    • The A22.9 note on column names and the H2 "Open" line now say which names are checked.

How this was checked

  • 25 Nov 2026: TAP_SCHEMA.tables and TAP_SCHEMA.columns on https://irsa.ipac.caltech.edu/TAP/sync for each table, and a first set of row queries that selected only some of the columns.
  • 26 Nov 2026: one real SELECT TOP 3 per table with every column named in the table (47, 69 and 30 columns); each reply header equals the list asked for.
  • Fields: CatWISE2020 and AllWISE at RA 150.0, Dec +2.2 (0.02° cone); 2MASS at RA 83.82, Dec −5.39 (CatWISE and AllWISE returned no rows there).
  • IRSA /TAP/capabilities read for limits.
  • Links on changed lines resolve. The ADQL is in A3.3.1.

Worth knowing

No adapter code, no hunt cuts, no decisions entries (out of scope).

@dhruv-bhantoo

Copy link
Copy Markdown
Collaborator Author

@KevinYerkiah this is ready for your review when you have a moment (docs-only, ci-gate is green). Thanks!

@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.

Requesting changes. The PR is docs-only, targets dev, follows the Issue-192: title rule, and ci-gate passes. I found no blocking defects, so the changes below are the review nits, which I'd like addressed before merge.

  1. A22.9.9 and n_2mass: H9 says "exactly one 2MASS match within 3″", but A3.3 now records that the n_2mass search radius is not stated in the column description. Add a one-line [verify] pointer in A22.9.9 so the H9 ticket owner sees it.
  2. Resolved-row style: the V6 row now says Resolved and the blocks table uses strikethrough with "none". Check this matches how V3 and V9 were handled.
  3. Fragment size: data-sources.md is now about 28.8 KB, over the 20 KB guideline. Either split the IRSA table facts into their own A3.3 sub-fragment (updating the section map in docs/architecture/README.md and the routing table in docs/README.md), or agree a date for doing so as a follow-up.
  4. Merge conflicts: #217 and #218 also edit discovery-hunts.md. Whichever PR merges second should rebase and re-check the lines.

I could not re-run the IRSA queries from my environment, so the 25 Nov results are taken on trust. The ADQL is in the doc for a reviewer to reproduce.


Generated by Claude Code

dhruv-bhantoo and others added 3 commits November 26, 2026 12:41
…, AllWISE and 2MASS

Read from IRSA TAP_SCHEMA and one real SELECT per table on 25 Nov 2026. Facts go in A3.3; V6 is one line and no longer blocks the adapter tickets.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…the n_2mass radius

- Move the IRSA table and column facts to irsa-catalogues.md (A3.3.1); update the section map and routing table.
- Add a [verify] note in A22.9.9 about the n_2mass search radius.
- Remove the resolved V6 row from the blocks table, as V3 and V9 are not listed there.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…statements

- A3.3.1: every named column was queried on real rows on 26 Nov 2026; the 25 Nov row queries selected only some of them.
- A22.9: note that the CatWISE2020, AllWISE and 2MASS names are checked (V6).
- A22.9.2: the H2 Open line now lists only the VHS and UKIDSS names.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@dhruv-bhantoo
dhruv-bhantoo force-pushed the docs/192-irsa-tap-tables branch from 3d9fe70 to fab747e Compare November 26, 2026 08:51
@dhruv-bhantoo

Copy link
Copy Markdown
Collaborator Author

Thanks @KevinYerkiah, all four are handled:

  1. Added a one-line [verify] note about the n_2mass search radius under "Selection" in A22.9.9.
  2. V3 and V9 aren't in the "blocks which ticket" table, so I removed the struck-through V6 row. The V6 status row reads like V3's.
  3. Split the IRSA facts into docs/architecture/irsa-catalogues.md (A3.3.1) and updated the section map and routing table. data-sources.md is about 26 KB, mostly from earlier content and Issue-198: V12: record the Horizons quantities for tail angles and position uncertainty #220; this PR now adds about 0.4 KB.
  4. Issue-198: V12: record the Horizons quantities for tail angles and position uncertainty #220 merged first, so I rebased on dev and re-checked the lines and links: no conflicts. Test merges with Issue-194: Check the Discovery hunts libraries, batch B: science methods #217 and Issue-205: Record D-43: release milestones replace M1–M5 #218 are clean.

Two more changes, in fab747e2:

  • A correction. The earlier text and PR description said every name had been used in a real row query. The 25 Nov row queries selected only some columns. On 26 Nov I queried every named column on rows (47 in catwise_2020, 69 in allwise_p3as_psd, 30 in fp_psc) and all came back. No names changed; the doc now gives both dates.
  • Two outdated statements about these names, in the A22.9 intro and the H2 "Open" line, now say what is checked.

@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. All four points from my earlier review are addressed. The facts match IRSA's live TAP_SCHEMA.columns (spot-checked today), CI passes, and the branch merges cleanly into dev. None of the comments below block the merge, but please fix 1 and 2 if you can.

Comments

  1. docs/architecture/irsa-catalogues.md:7: "Used by the H2, H8 and H9 adapters" is wrong for H8. Runaway stars (A22.9.8) use only Gaia, a cluster catalogue and runaway lists, not CatWISE, AllWISE or 2MASS. A22.6 lists these catalogues for "H2, H9; masks for H4". Suggest: "Used by the H2 and H9 adapters (CatWISE masks for H4)".
  2. docs/architecture/irsa-catalogues.md:3: "Implements: Q-51" overstates the link. Q-51 is about overlays and says AllWISE is not used, but this section records AllWISE for the hunts. Suggest "Read with: Q-51", plus half a sentence saying Q-51's "not used" covers the A3.3/A4.9 overlays and that AllWISE here serves the A22 hunts only.
  3. Dates: discovery-hunts.md:667 and :1226 and data-sources.md:75 say "checked 25 Nov 2026", while A3.3.1 says the full column check ran on 26 Nov. Use "25–26 Nov 2026", or cite 26 Nov for the column check.
  4. docs/architecture/discovery-hunts.md:538: the bullet still says the names "are all [verify]", and the next sentence says some were checked. Change "all" to "the others".
  5. (optional) docs/architecture/discovery-hunts.md:910: the n_2mass [verify] could say where to check: the AllWISE Explanatory Supplement's column description.
  6. (optional) docs/architecture/discovery-hunts.md:1142 (R-42) and :1267 (V37): these still mark current IRSA limits [verify]. A3.3.1 now records what /TAP/capabilities publishes (no output-row limit, 5-min sync timeout, 259200 s async). A short pointer to A3.3.1 would keep them in sync; rate limits stay [verify].
  7. (follow-up) #231 adds a "Discovery hunts" routing row in docs/README.md. Whichever of #219 and #231 merges second should add irsa-catalogues.md (A3.3.1) to that row.

- A3.3.1: H8 does not use these catalogues; list H2 and H9, with CatWISE masks for H4.
- A3.3.1: no longer claims to implement Q-51; explain how its "AllWISE not used" applies.
- Date the V6 check 25-26 Nov 2026.
- A22.9: only the unchecked catalogue names are [verify].

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@dhruv-bhantoo

Copy link
Copy Markdown
Collaborator Author

Changes after the approval, and the reasoning (for later sessions)

Fixed in 74a32e54

  1. H8. A3.3.1 said the H2, H8 and H9 adapters use these catalogues. A22.9.8 (H8) uses none of the three; "H8" was copied from the V6: record the IRSA table and column names for CatWISE2020, AllWISE and 2MASS #192 ticket text without checking. It now names H2 and H9, with CatWISE masks for H4, as in A22.6.
  2. Q-51. The fragment no longer claims to implement Q-51; it lists it under "Read with", and the header reads "Implements: none (recorded facts)". It adds that Q-51's "AllWISE is not used" is about the A3.3 and A4.9 overlays, and that AllWISE is recorded here for the A22 hunts only.
  3. Dates. The four places that date the V6 check now read 25–26 Nov 2026: the schema was read on 25 Nov and every column named in the table was queried on rows on 26 Nov. The two A22.6 rows keep 25 Nov because they cite table names, which were read that day.
  4. A22.9 intro. Reworded so the checked names are stated first and only the other names are [verify].

Not changed (all non-blocking): where to check the n_2mass radius (left to the H9 ticket); pointers from R-42 and V37 to the service limits (rate limits stay [verify]); the #231 routing row, which applies to whichever of #219 and #231 merges second.

Earlier decisions

  • The facts were first put in data-sources.md because the Issue-196: V3: SPHEREx DR1, its DOI and what it contains on IRSA #215 review asked for source facts there. They moved to their own fragment (A3.3.1) to settle the size comment in this PR instead of in a follow-up. data-sources.md is still over 20 KB.
  • The V6 row was removed from the "which item blocks which ticket" table because V3 and V9 do not appear there.
  • The n_2mass [verify] note is one line, as asked, and does not change H9's 3″ cut.
  • The 25 Nov row queries had selected only some columns; the 26 Nov check covers every column named in the table.
  • VHS and UKIDSS stay open in the H2 "Open" line because they were not queried.
  • Whether CatWISE pmra includes cos δ, and the sync row limit, stay open.

Checks: 36 links on changed lines, none broken; test merges with dev, #218 and #231 clean; ci-gate passed on 74a32e54.

@dhruv-bhantoo
dhruv-bhantoo added this pull request to the merge queue Nov 26, 2026
Merged via the queue into dev with commit 589ac63 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.

V6: record the IRSA table and column names for CatWISE2020, AllWISE and 2MASS

2 participants