Skip to content

Fix atl24x photon-cloud overlay version handling (#1084)#1085

Merged
cugarteblair merged 1 commit into
mainfrom
issue-1084-atl24-photon-cloud-overlay
Jun 11, 2026
Merged

Fix atl24x photon-cloud overlay version handling (#1084)#1085
cugarteblair merged 1 commit into
mainfrom
issue-1084-atl24-photon-cloud-overlay

Conversation

@cugarteblair

Copy link
Copy Markdown
Member

What

Client-side follow-ups for the atl24x photon-cloud overlay (issue #1084).

The overlay re-fetches an atl03x request with atl24 classification, deriving the source ATL03 granule name and CMR version from the parent ATL24 product (whose granule name encodes the input ATL03 release per NSIDC ATL24 User Guide §1.2.3).

Changes

  • reqParamsStore.ts — derive cmr.version from the derived resource name's version field (ATL03_[date]_[ttttccss]_[VVV]_[RR].h5) instead of hardcoding "006". The overlay now tracks the ATL24 product automatically, so when the R007-based ATL24 run ships the request uses "007" with no code change.
  • SrElevationPlot.vue / plotUtils.ts — color an atl24x overlay by atl24_class (pass the real parent func string rather than a hardcoded "atl03x"), and fall back to atl03x in getDefaultColorEncoding while the rec tree hasn't yet registered the freshly-created overlay node — removing a spurious No function found for reqId, returning solid color encoding warning.

Important: this does not restore the photon cloud by itself

The current ATL24 product was built from ATL03 R006, and NSIDC removed the R006 ATL03 granules from S3 that SlideRule reads, so the overlay returns NO_DATA regardless of these changes. Confirmed external (not a client bug) by the SlideRule server developer (JP Swinski). Full resolution depends on:

  • NSIDC restoring R006 ATL03 in S3, or
  • the R007-based ATL24 run shipping (summer 2026), after which the cmr.version derivation above picks up "007" automatically.

Refs #1084 — leaving the issue open to track the external resolution.

Testing

  • make typecheck
  • make lint
  • Manual: verified the request now sends a CMR version matching the derived ATL03 granule; behavior on the live server still gated on R006/R007 availability as above.

🤖 Generated with Claude Code

The ATL24 photon-cloud overlay re-fetches an atl03x request with atl24
classification, deriving the source ATL03 granule name and CMR version from the
parent ATL24 product. The CMR version was hardcoded to '006', so it could not
track the ATL24 product's input ATL03 release.

- Derive cmr.version from the derived resource name's version field (VVV)
  instead of hardcoding '006', so the overlay follows the ATL24 product
  (e.g. automatically uses '007' once the R007-based ATL24 run ships).
- Color an atl24x overlay by atl24_class by passing the real parent func
  string, and fall back to atl03x in getDefaultColorEncoding before the rec
  tree updates (removes a spurious "No function found for reqId" warning).

Note: this does not restore the photon cloud on its own. The current ATL24
product was built from ATL03 R006, which NSIDC removed from S3; full resolution
depends on R006 being restored or the R007-based ATL24 run (summer 2026). See
issue #1084.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cugarteblair
cugarteblair merged commit 42671ee into main Jun 11, 2026
1 check passed
@cugarteblair
cugarteblair deleted the issue-1084-atl24-photon-cloud-overlay branch June 11, 2026 12:43
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