Skip to content

areas with high density of granules crash #5

@hrodmn

Description

@hrodmn

Maybe related to expiring AWS credentials.

Here is an example of the stderr output from a crashed run:

+ /app/hls-cloud-free-temporal-mosaic/run.sh 2025-07-01T00:00:00Z 2025-07-31T23:59:59Z '737280 6881280 983040 7127040' EPSG:25832
2026-01-09 13:14:00,556 - INFO - root - setting GDAL config environment variables:
{
  "CPL_TMPDIR": "/tmp",
  "CPL_VSIL_CURL_ALLOWED_EXTENSIONS": "TIF",
  "GDAL_CACHEMAX": "75%",
  "GDAL_INGESTED_BYTES_AT_OPEN": "32768",
  "GDAL_DISABLE_READDIR_ON_OPEN": "EMPTY_DIR",
  "GDAL_HTTP_MERGE_CONSECUTIVE_RANGES": "YES",
  "GDAL_HTTP_MULTIPLEX": "YES",
  "GDAL_HTTP_VERSION": "2",
  "PYTHONWARNINGS": "ignore",
  "VSI_CACHE": "TRUE",
  "VSI_CACHE_SIZE": "536870912",
  "GDAL_NUM_THREADS": "ALL_CPUS",
  "GDAL_HTTP_MAX_RETRY": "10",
  "GDAL_HTTP_RETRY_DELAY": "2",
  "CPL_VSIL_CURL_NON_CACHED": "/vsis3/lp-prod-protected"
}
2026-01-09 13:14:00,556 - INFO - root - running with start_datetime: 2025-07-01 00:00:00+00:00, end_datetime: 2025-07-31 23:59:59+00:00, bbox: (737280.0, 6881280.0, 983040.0, 7127040.0), crs: EPSG:25832, output_dir: output
2026-01-09 13:14:00,557 - INFO - __main__ - querying HLS archive
2026-01-09 13:14:10,728 - INFO - __main__ - found 587 items
2026-01-09 13:14:11,138 - INFO - __main__ - checking proj metadata
2026-01-09 13:14:11,150 - INFO - __main__ - fixed proj metadata for 0 items
2026-01-09 13:14:11,150 - INFO - __main__ - loading into xarray via odc.stac
2026-01-09 13:14:18,592 - INFO - __main__ - computing median values
2026-01-09 13:14:19,247 - INFO - __main__ - refreshing AWS credentials
2026-01-09 13:14:19,271 - INFO - __main__ - exporting red.tif
/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/rasterio/warp.py:385: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
  dest = _reproject(
2026-01-09 13:35:09,693 - INFO - __main__ - refreshing AWS credentials
2026-01-09 13:35:09,746 - INFO - __main__ - exporting green.tif
2026-01-09 13:55:55,145 - INFO - __main__ - refreshing AWS credentials
2026-01-09 13:55:55,198 - INFO - __main__ - exporting blue.tif
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33VWL.2025206T103629.v2.0/HLS.S30.T33VWL.2025206T103629.v2.0.B02.tif range 9412615-9491049 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33VWL.2025206T103629.v2.0/HLS.S30.T33VWL.2025206T103629.v2.0.B02.tif range 10879711-10957503 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1889729-1891037 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1871352-1872687 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33VXL.2025206T103629.v2.0/HLS.S30.T33VXL.2025206T103629.v2.0.Fmask.tif range 243932-252683 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1872688-1881596 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1858667-1859388 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33VWL.2025206T103629.v2.0/HLS.S30.T33VWL.2025206T103629.v2.0.B02.tif range 6209558-6236985 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33VWL.2025206T103629.v2.0/HLS.S30.T33VWL.2025206T103629.v2.0.B02.tif range 6339430-6369889 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1706511-1709239 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33VWL.2025206T103629.v2.0/HLS.S30.T33VWL.2025206T103629.v2.0.B02.tif range 6797478-6949407 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1884009-1889728 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1798074-1799839 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T105051.v2.0/HLS.S30.T33WWM.2025206T105051.v2.0.B02.tif range 7134866-7135144 failed with response_code=400
2026-01-09 14:09:51,073 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,073 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,073 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,073 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,073 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,075 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VXL.2025206T103629.v2.0/HLS.S30.T33VXL.2025206T103629.v2.0.Fmask.tif:1
2026-01-09 14:09:51,075 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1836852-1841780 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1926184-1929522 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1843044-1847295 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1834235-1839728 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1872688-1874901 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1822166-1834234 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1847296-1850178 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1926184-1929522 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1929523-1938618 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1815959-1828336 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1850179-1857565 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1763640-1769051 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1841781-1843043 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1857566-1859388 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1813895-1815958 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1866223-1871351 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1783912-1788638 failed with response_code=400
ERROR 1: Request for https://lp-prod-protected.s3.us-west-2.amazonaws.com/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif range 1706511-1709239 failed with response_code=400
2026-01-09 14:09:51,075 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,147 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0, unknown compression method'
2026-01-09 14:09:51,147 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0, unknown compression method'
2026-01-09 14:09:51,147 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,147 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0, unknown compression method'
2026-01-09 14:09:51,147 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,828 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif:1
2026-01-09 14:09:51,836 - WARNING - root - Attempt 1/3 failed with error: Chunk and warp failed. Retrying in 5 seconds...
2026-01-09 14:09:51,838 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,838 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0, unknown compression method'
2026-01-09 14:09:51,844 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33WWM.2025206T105051.v2.0/HLS.S30.T33WWM.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,844 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,844 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0, unknown compression method'
2026-01-09 14:09:51,845 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,845 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,846 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif:1
2026-01-09 14:09:51,848 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif:1
2026-01-09 14:09:51,848 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,848 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,848 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,849 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,849 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,849 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,850 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T103629.v2.0/HLS.S30.T33VWL.2025206T103629.v2.0.B02.tif:1
2026-01-09 14:09:51,850 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,850 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0, unknown compression method'
2026-01-09 14:09:51,851 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 14:09:51,852 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif:1
2026-01-09 14:09:51,853 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33WWM.2025206T103629.v2.0/HLS.S30.T33WWM.2025206T103629.v2.0.Fmask.tif:1
2026-01-09 14:09:51,909 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,909 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,909 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,910 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,910 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,910 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,910 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,910 - INFO - rasterio._env - Unknown error number 17
2026-01-09 14:09:51,910 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,910 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,910 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,911 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,911 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,911 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,911 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1
2026-01-09 14:09:51,911 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSS30.020/HLS.S30.T33VWL.2025206T105051.v2.0/HLS.S30.T33VWL.2025206T105051.v2.0.B02.tif:1

...

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
2026-01-09 15:27:28,027 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
2026-01-09 15:27:28,029 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSL30.020/HLS.L30.T34VCR.2025198T100523.v2.0/HLS.L30.T34VCR.2025198T100523.v2.0.B02.tif:1
  File "/app/hls-cloud-free-temporal-mosaic/main.py", line 466, in <module>
    asyncio.run(
    ~~~~~~~~~~~^
        run(
        ^^^^
    ...<6 lines>...
        )
        ^
    )
    ^
  File "/root/.local/share/uv/python/cpython-3.13.11-linux-x86_64-gnu/lib/python3.13/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
2026-01-09 15:27:28,029 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
  File "/root/.local/share/uv/python/cpython-3.13.11-linux-x86_64-gnu/lib/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
2026-01-09 15:27:28,031 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
  File "/root/.local/share/uv/python/cpython-3.13.11-linux-x86_64-gnu/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/app/hls-cloud-free-temporal-mosaic/main.py", line 348, in run
    da_to_export.rio.to_raster(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        output_file_path,
        ^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        compress="DEFLATE",
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
2026-01-09 15:27:28,032 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/rioxarray/raster_array.py", line 1186, in to_raster
    return RasterioWriter(raster_path=raster_path).to_raster(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        xarray_dataarray=self._obj,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<13 lines>...
        **out_profile,
        ^^^^^^^^^^^^^^
    )
    ^
2026-01-09 15:27:28,032 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/rioxarray/raster_writer.py", line 301, in to_raster
    data = encode_cf_variable(out_data.variable).values.astype(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/xarray/core/variable.py", line 556, in values
    return _as_array_or_item(self._data)
2026-01-09 15:27:28,034 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSL30.020/HLS.L30.T34VCR.2025198T100523.v2.0/HLS.L30.T34VCR.2025198T100523.v2.0.B02.tif:1
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/xarray/core/variable.py", line 336, in _as_array_or_item
    data = np.asarray(data)
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/dask/array/core.py", line 1723, in __array__
    x = self.compute()
2026-01-09 15:27:28,034 - INFO - rasterio._err - GDAL signalled an error: err_no=1, msg='ZIPDecode:Decoding error at scanline 0'
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/dask/base.py", line 373, in compute
    (result,) = compute(self, traverse=False, **kwargs)
                ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/dask/base.py", line 681, in compute
    results = schedule(expr, keys, **kwargs)
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_builder.py", line 436, in _dask_loader_tyx
    _fill_nd_slice(
    ~~~~~~~~~~~~~~^
        ti_srcs, gbox, cfg, chunk[ti], ydim=ydim, selection=selection
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_builder.py", line 517, in _fill_nd_slice
    return fuse_nd_slices(
        (src.read(cfg, dst_gbox, selection=selection) for src in rest),
    ...<3 lines>...
        prefilled=True,
    )
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_builder.py", line 479, in fuse_nd_slices
    for yx_roi, pix in srcs:
                       ^^^^
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_builder.py", line 518, in <genexpr>
    (src.read(cfg, dst_gbox, selection=selection) for src in rest),
     ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-01-09 15:27:28,035 - ERROR - odc.loader._rio - Aborting load due to failure while reading: s3://lp-prod-protected/HLSL30.020/HLS.L30.T34VCR.2025198T100523.v2.0/HLS.L30.T34VCR.2025198T100523.v2.0.B02.tif:1
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_rio.py", line 115, in read
    return rio_read(self._src, cfg, dst_geobox, dst=dst, selection=selection)
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_rio.py", line 526, in rio_read
    raise e
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_rio.py", line 512, in rio_read
    _rio_read(src, cfg, dst_geobox, prep_dst(dst), selection=selection)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_rio.py", line 573, in _rio_read
    return _do_read(rasterio.band(rdr, bidx), cfg, dst_geobox, rr, dst=dst)
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/odc/loader/_rio.py", line 440, in _do_read
    rasterio.warp.reproject(
    ~~~~~~~~~~~~~~~~~~~~~~~^
        src,
        ^^^^
    ...<5 lines>...
        resampling=resampling,
        ^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/rasterio/env.py", line 411, in wrapper
    return f(*args, **kwds)
  File "/app/hls-cloud-free-temporal-mosaic/.venv/lib/python3.13/site-packages/rasterio/warp.py", line 385, in reproject
    dest = _reproject(
        source,
    ...<16 lines>...
        **kwargs
    )
  File "rasterio/_warp.pyx", line 389, in rasterio._warp._reproject
  File "rasterio/_warp.pyx", line 657, in rasterio._warp._reproject
rasterio.errors.WarpOperationError: Chunk and warp failed
+ tail -n 10 _stderr.txt
+ exit 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions