Skip to content

Checksum value could not be computed due to I/O read error for ~80% of downloaded images  #29

@arkanoid87

Description

@arkanoid87

What happened?

for most of the images I'm downloading have invalid checksum according to gdalinfo -checksum

One of the many errors

ERROR 1: TIFFFillTile:Read error at row 4608, col 4608, tile 318; got 33374 bytes, expected 129895
ERROR 1: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s2_EOSV.tif, band 1: IReadBlock failed at X offset 10, Y offset 14: TIFFReadEncodedTile() failed.
ERROR 3: Checksum value could not be computed due to I/O read error.

What are the steps to reproduce the bug?

downloading these tifs

query = {
  "dataset_id": "EO:EEA:DAT:CLMS_HRVPP_VPP",
  "resolution": "10",
  "start": "2018-01-01T01:00:00.000Z",
  "end": "2018-01-01T01:00:00.000Z",
  "bbox": (8.111400390689214, 38.848683828777084, 9.85180313535546, 41.31972080422642),
  "itemsPerPage": 200,
  "startIndex": 0
}

After just 30 images:

$ for tif in *.tif; gdalinfo -checksum "$tif" > "$tif"_info.txt 2>&1; end
$ cat *.txt | grep "IReadBlock failed"
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_AMPL.tif, band 1: IReadBlock failed at X offset 17, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_EOSD.tif, band 1: IReadBlock failed at X offset 18, Y offset 15: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_EOSV.tif, band 1: IReadBlock failed at X offset 17, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_LENGTH.tif, band 1: IReadBlock failed at X offset 19, Y offset 15: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_LSLOPE.tif, band 1: IReadBlock failed at X offset 19, Y offset 15: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_MAXD.tif, band 1: IReadBlock failed at X offset 17, Y offset 15: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_MAXV.tif, band 1: IReadBlock failed at X offset 17, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_MINV.tif, band 1: IReadBlock failed at X offset 16, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_RSLOPE.tif, band 1: IReadBlock failed at X offset 12, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_SOSD.tif, band 1: IReadBlock failed at X offset 18, Y offset 15: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_SOSV.tif, band 1: IReadBlock failed at X offset 17, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_SPROD.tif, band 1: IReadBlock failed at X offset 14, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s1_TPROD.tif, band 1: IReadBlock failed at X offset 14, Y offset 16: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s2_AMPL.tif, band 1: IReadBlock failed at X offset 10, Y offset 14: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s2_EOSV.tif, band 1: IReadBlock failed at X offset 10, Y offset 14: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s2_MAXV.tif, band 1: IReadBlock failed at X offset 11, Y offset 14: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s2_MINV.tif, band 1: IReadBlock failed at X offset 12, Y offset 14: TIFFReadEncodedTile() failed.
ERROR 1: VPP_2018_S2_T32SMJ-010m_V101_s2_RSLOPE.tif, band 1: IReadBlock failed at X offset 15, Y offset 13: TIFFReadEncodedTile() failed.

Version

hda==2.17

Platform (OS and architecture)

Ubuntu 22.04

Relevant log output

No response

Accompanying data

No response

Organisation

No response

Metadata

Metadata

Labels

bugSomething isn't working

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