Skip to content

Add CANFAR IVOA-to-RSPDiscovery mapping for LSST sciplat - #160

Open
ijiraq wants to merge 1 commit into
opencadc:mainfrom
ijiraq:cursor/canfar-rsp-discovery
Open

ijiraq wants to merge 1 commit into
opencadc:mainfrom
ijiraq:cursor/canfar-rsp-discovery

Conversation

@ijiraq

@ijiraq ijiraq commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Populate /etc/nublado/discovery/v1.json at LSST sciplat session start from an ARC-hosted cadc_dataset_map.yaml, so lsst.rsp.RSPDiscovery can resolve CANFAR/CADC services (YouCAT TAP, GMS, SIA, SODA cutout, DataLink).
  • Publish the CADC token where RSPDiscovery expects it (/etc/nublado/secrets/token, NUBLADO_TOKEN, ACCESS_TOKEN).
  • Track ARC-deployed config (cadc_dataset_map.yaml, cadc_repositories.yaml) under arc-projects-LSST/ for Argo CD sync; include Rubin-mirrored dp02/prompt/HiPS entries with dual-token auth notes.

Test plan

  • Dry-run: python src/populate_discovery.py --map arc-projects-LSST/cadc_dataset_map.yaml --dry-run and confirm dp1/dp2 TAP → YouCAT and Rubin literal URLs for dp02/prompt/hips
  • Deploy map to /arc/projects/LSST/cadc_dataset_map.yaml (Argo CD or manual)
  • Rebuild/start sciplat session; confirm /etc/nublado/discovery/v1.json and /etc/nublado/secrets/token exist
  • In notebook: RSPDiscovery("dp2").get_tap_client() succeeds with session CADC token
  • Confirm Rubin-mirrored datasets need an explicit Rubin token: RSPDiscovery("dp02", token=...)

Made with Cursor

Populate /etc/nublado/discovery/v1.json at startup from an ARC-hosted
dataset map so RSPDiscovery can resolve YouCAT and related CADC services.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant