Skip to content

Sentinel download and rgb fixes - #426

Merged
BryonLewis merged 4 commits into
masterfrom
sentinel-download-and-rgb-fixes
Jul 27, 2026
Merged

Sentinel download and rgb fixes#426
BryonLewis merged 4 commits into
masterfrom
sentinel-download-and-rgb-fixes

Conversation

@BryonLewis

@BryonLewis BryonLewis commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

extracted out of #397 this PR's to make it a bit easier for Review of Frame Preview PR's

Sentinel downloader (scripts/sentinelDownload/)

  • Supports creating multiframe single-image Sentinel raster datasets via --single-file (uses gdal_translate to append frames as subdatasets)
  • Additional CLI arguments for date range, cloud cover, output naming, and clip size
  • Generates an ingest JSON alongside clipped GeoTIFFs for direct import into Geoodatalytics

Dataset / RGB fixes

  • Default band:1 injection removed when no source_filter is supplied — this was preventing Boston ortho imagery from being recognized as RGB
  • band:1 is still applied when explicitly defined in the style spec
  • Multiframe rasters no longer render as grayscaleframe and band are extracted from the style JSON and passed as separate query parameters (outside style) so django-large-image can auto-detect RGB imagery
  • Stop embedding frame and band inside the large-image style JSON. Those keys select which raster slice to read, so they are now sent as top-level tile query params.
  • Treat legacy ingest { "band": 1 } as “no band filter,” so RGB imagery is not forced into single-band grayscale. Explicit non-default band / frame values from source_filters still apply.
  • Centralize tile URL building in buildRasterTileQueryParams and use it from both the map and style stores so source creation and style updates stay consistent.

@BryonLewis
BryonLewis requested a review from annehaley July 26, 2026 18:54
Comment thread web/src/store/style.ts Outdated
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploying geodatalytics with  Cloudflare Pages  Cloudflare Pages

Latest commit: d8e53e7
Status: ✅  Deploy successful!
Preview URL: https://d52f03f6.geodatalytics.pages.dev
Branch Preview URL: https://sentinel-download-and-rgb-fi.geodatalytics.pages.dev

View logs

@BryonLewis
BryonLewis merged commit 1f15e6f into master Jul 27, 2026
4 checks passed
@BryonLewis
BryonLewis deleted the sentinel-download-and-rgb-fixes branch July 27, 2026 19:54
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.

2 participants