Repository navigation
Run-2 planning: rule-defined tile list, HEALPix ownership with closure, per-pixel source lists, star-row keys - #991
Open
cailmdaley wants to merge 8 commits into
Open
cailmdaley wants to merge 8 commits into
cailmdaley wants to merge 8 commits into
Conversation
Records tile_universe, seam_realization and pixel_completeness (#986); implementing sites follow in this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JK7o9DiztKSbcdLjwXNWmh
Co-Authored-By: GPT (via confer) <noreply@openai.com>
Co-Authored-By: GPT (via confer) <noreply@openai.com>
Co-Authored-By: GPT (via confer) <noreply@openai.com>
Co-Authored-By: GPT (via confer) <noreply@openai.com>
Refresh fixture-derived parameter pins for the changed test tile IDs. Co-Authored-By: GPT (via confer) <noreply@openai.com>
Co-Authored-By: GPT (via confer) <noreply@openai.com>
Co-Authored-By: GPT (via confer) <noreply@openai.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run-2 planning (#986): one rule-defined tile list, HEALPix ownership with closure, fixed per-pixel source lists, and unique star-row keys.
This is the first of two stacked PRs; the second (#987) builds and publishes the order-5 HATS pixels from what this one plans.
What changes
workflow/scripts/tile_universe.py, decisionsurvey_publication.tile_universe).For tile
x.ywith dec = y/2 − 90, a tile is excluded when y ≥ 345 or x ≥ 720 cos(dec).On the 23,114-tile DR6 list this leaves 22,885 tiles: it removes the 181 cap and 32 dateline tiles of Drop the #900 dateline and high-Dec tiles from the DR6 r tile list #969, plus 16 dateline tiles that straddle RA 360° and were not on the Exclude the redundant dateline tiles and high-Dec tiles from the DR6 shape catalogue #900 list.
The Snakefile refuses a data campaign whose tile list contains an excluded tile (image simulations are exempt).
pixel_lists.py,pixel_completeness).pixel_tiles.csvlists, for each order-5 pixel, every tile whose 0.4° cap touches it.pixel_exposures.csvlists the exposures used by those tiles.A tile with no prepared exposure association is an error, never an empty list.
claims.py,seam_realization).Nibi and Fir own order-2 cells.
claims.py initialgrows block-first at a 40:60 pace and stops at 60% of tiles, leaving the rest of the cells forclaims.py propose.claims.py closuregives one cluster every tile touching its pixels, and the exposures those tiles use.A claim is a commit to the shared claims file, and a rejected push is the lock; the script never runs git.
The PSF-validation star rows gain
EXP_ID(string, so leading zeros survive) andSOURCE_ORDINALalongsideCCD_NB, so(EXP_ID, CCD_NB, SOURCE_ORDINAL)is unique; both star merges fill them for older files.astra.yamlgains thesurvey_publicationsub-analysis.Its first three decisions (
tile_universe,seam_realization,pixel_completeness) are tagged at the sites above and pinned inuniverses/committed.yaml; #987 addsrow_partitioning.Figures
Ownership at the default 60% start and at the full 40:60 split, computed with this branch's
claims.pyon the 22,885-tile list.Red circles are tiles run on both clusters: 67 at the start and 328 at the full split (1.4% of tiles).
The design estimate of 243 used sampled image footprints; the 0.4° cap is deliberately a superset, so this PR uses caps.
The RA 360° wrap.
Left: tile centres; the rule excludes the orange tiles and the 16 straddling tiles in pink.
Right: run-1 galaxy rows per order-6 pixel for Dec 24–36°, before and after removing the excluded tiles' rows (519,297 of 24.5M rows in this band).
After removal the RA 0.5° bin is still 16.5% above its neighbours.
I read this as ordinary tile overlap, not measured directly: the last tile column before 360° sits an arbitrary 0–0.58° from the x = 0 column, so the two overlap more than the usual ~4%, and sp_validation's own-box cut removes it as it does everywhere else.
The 0.4° cap encloses every row: across 75 real tiles, the farthest row from its tile centre is 0.361–0.365°.
Checks
Each contract has a test, and each test was seen to fail under the failure it guards against:
tile-universe-by-ruletile-cap-encloses-rowsexposure-list-covers-starsone-owner-per-pixelstar-key-uniqueEXP_ID174 tests pass and 1 is skipped (
tests/unit/test_decisions.py, the newtest_run2_*and star-catalogue tests,tests/workflow), run inside thedevelopimage;astra-tools validatepasses.Two diffs are larger than they look.
tests/fixtures/run2/included_reference.txtis the 22,901-line run-1 tile list that the rule test is checked against.tests/workflow/params_pin*.jsonchange because the workflow fixtures now use valid data tile IDs; no rule parameter changed.— Claude (Opus 5.5) on behalf of Cail
Closes #986.
🤖 Generated with Claude Code
https://claude.ai/code/session_01JK7o9DiztKSbcdLjwXNWmh