Skip to content

Add source URL accessibility validation#17

Merged
NewGraphEnvironment merged 2 commits into
mainfrom
13-fix-s3-permissions
Feb 17, 2026
Merged

Add source URL accessibility validation#17
NewGraphEnvironment merged 2 commits into
mainfrom
13-fix-s3-permissions

Conversation

@NewGraphEnvironment
Copy link
Copy Markdown
Owner

Summary

  • Adds check_url_accessible() helper to scripts/stac_utils.py (HTTP HEAD with timeout)
  • Creates scripts/urls_check_access.py — incremental URL checker with parallel requests and CSV output shareable with GeoBC
  • Integrates into scripts/build_safe.sh as Step 3.5 (warning only, non-blocking)

Testing

  • Tested against 3 known-good URLs (200 OK) and 2 known-bad 092p045 URLs (also 200 — permissions appear fixed upstream by GeoBC)
  • Incremental cache verified (skips already-checked URLs on re-run)
  • CSV output columns: url, status_code, accessible, error, last_checked

Note

The 6 originally-reported 092p045 URLs now return HTTP 200, suggesting GeoBC has fixed the upstream permissions. This script remains valuable for ongoing monitoring of new URLs added to the objectstore.

Closes #13

Relates to NewGraphEnvironment/sred-2025-2026#3

🤖 Generated with Claude Code

NewGraphEnvironment and others added 2 commits February 17, 2026 10:33
- Archive issue #7 (.qmd to .py migration) planning files
- Create fresh planning files for issue #13 (source URL accessibility)

Refs #13
Relates to NewGraphEnvironment/sred#3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add check_url_accessible() to stac_utils.py (HTTP HEAD with timeout)
- Create scripts/urls_check_access.py with incremental caching, parallel
  checks, and CSV output shareable with GeoBC
- Integrate into build_safe.sh as Step 3.5 (warning only, non-blocking)

Closes #13

Relates to NewGraphEnvironment/sred#3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@NewGraphEnvironment NewGraphEnvironment merged commit 40aa9cd into main Feb 17, 2026
1 of 2 checks passed
@NewGraphEnvironment NewGraphEnvironment deleted the 13-fix-s3-permissions branch February 17, 2026 19:20
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.

Fix 6 item JSONs with wrong S3 permissions (092p045)

1 participant