[GRASS-git] [OSGeo/grass-addons] 47ad8a: t.stac: fixed issue with download and import asset...

Corey White noreply at github.com
Tue Jul 14 06:25:21 PDT 2026


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 47ad8a575cd98016575bfa9dade3637614147f46
      https://github.com/OSGeo/grass-addons/commit/47ad8a575cd98016575bfa9dade3637614147f46
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M src/temporal/t.stac/libstac/staclib.py
    M src/temporal/t.stac/libstac/testsuite/test_staclib.py
    M src/temporal/t.stac/t.stac.item/t.stac.item.html
    M src/temporal/t.stac/t.stac.item/t.stac.item.md

  Log Message:
  -----------
  t.stac: fixed issue with download and import asset potentially overwhelming network. (#1641)

* Update raster asset download

* t.stac: Fix issue when downloading and importing assets in with mulitple processes

* Simplified import process and updated tests

* t.stac: Use thread pool for asset downloads and restore error handling

Revert ProcessPoolExecutor to ThreadPoolExecutor: r.import already runs
as its own subprocess, and process workers could not unpickle staclib
under spawn (Windows, macOS). Restore gs.fatal translation of worker
errors, drop the CPU-based nprocs cap that crashed on single-CPU
machines, remove the ineffective GDAL_MAX_CONNECTIONS and
CPL_VSIL_CURL_CACHE_SIZE settings, set the HTTP retry defaults once
before the pool, and document the concurrent download cap.

Implemented with Claude Code based on an automated code review.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list