fix(recent-imagery): keep drapes and proven halves steady across re-probes

- The renderer compares the rectangles it actually drapes, so a probe that
  confirms the same halves no longer rebuilds a shown layer.
- A re-probe of a present day keeps a side it proved earlier through a
  transient failure and drops it only on fresh empty evidence.
- DETAILS shows partial coverage when a side is confirmed empty; the
  presentBoxes contract of the source is documented.
- probeHalf, the presentBoxes filter, requestBoxes and mount are simplified;
  the frozen-response Proxy is gone.
- Duplicate source tests move into their own suites and share the existing
  fixtures; tests pin the exact ±180 seam and the dateline refusals.
- Comments, CURRENT-STATE and the changelog fragment are shortened and match
  the JPEG / PNG drape rules.
This commit is contained in:
German Khokhlov committed 2026-11-19 18:50:06 +04:00
1 parent ccffaeca4d
commit fc137bef85
21 files changed
+715 -1093

No files matched your search

+6 -14
View File
@@ -1,14 +1,6 @@
- Recent Imagery takes a box dragged across the dateline. The drag was turned
into a box about 360° wide and refused as too large; it is now the short box
across ±180°, which lists the days for that box and drapes a pinned day on
both sides. Availability probes both sides of ±180° (a day counts as present
when either side has data, and sides confirmed empty are not draped). Each
side has a deadline so a stalled probe cannot indefinitely block the day;
unknown or failed sides are not treated as empty. A side that is not
confirmed present is draped only where the product has alpha: VIIRS is a
JPEG, so an unproven side would land on the map as a black rectangle, and
only a side Worldview confirmed present is draped for it; a PNG (HLS)
keeps the unproven side because alpha hides it. The day itself stays
present. Voice accepts named areas across the dateline, and EXPORT is
disabled up front with the reason, since Worldview Snapshots cannot draw a
box that crosses ±180° (Byrd-IT, #1540).
- Recent Imagery takes a box dragged across the dateline as the short box across
±180° instead of refusing it as about 360° wide. A day counts when either side
has imagery. A side confirmed empty is not draped, and the VIIRS overview
drapes only a side confirmed to have data. Voice accepts named areas across
the dateline. EXPORT and `get_recent_imagery` refuse such a box, since
Worldview Snapshots cannot draw one (Byrd-IT, #1540).