Fetching error from planetary
Input command :
python moringa.py fetch --date_range 2022-01-01/2022-12-31 s2planetary /home/ubuntu/data/data/Obsydia/Bagou.shp /home/ubuntu/data/Obsydia/Bagou
Error :
`Fetching from Planetary: 46%|███████████████████████████████████████▏ | 750/1628 [44:53<54:09, 3.70s/it]ERROR 1: TIFFFillTile:Read error at row 7680, col 7680, tile 478; got 0 bytes, expected 161524
ERROR 1: TIFFReadEncodedTile() failed.
ERROR 1: IReadBlock failed at X offset 16, Y offset 21: TIFFReadEncodedTile() failed.
Traceback (most recent call last):
File "rasterio/_io.pyx", line 936, in rasterio._io.DatasetReaderBase._read
File "rasterio/_io.pyx", line 174, in rasterio._io.io_multi_band
File "rasterio/_err.pyx", line 195, in rasterio._err.exc_wrap_int
rasterio._err.CPLE_AppDefinedError: IReadBlock failed at X offset 16, Y offset 21: TIFFReadEncodedTile() failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "moringa.py", line 121, in <module>
main(sys.argv)
File "moringa.py", line 110, in main
fetch(arg.imagery, arg.roi, arg.out_folder, arg.date_range, arg.auth)
File "/home/ubuntu/moringav2/Workflows/operations.py", line 95, in fetch
s2planetary.fetch(shp, dt, out_fld)
File "/home/ubuntu/moringav2/TimeSeries/s2planetary.py", line 37, in fetch
out_img, out_geot = rasterio.mask.mask(img,
File "/home/ubuntu/.local/lib/python3.8/site-packages/rasterio/mask.py", line 189, in mask
out_image = dataset.read(
File "rasterio/_io.pyx", line 612, in rasterio._io.DatasetReaderBase.read
File "rasterio/_io.pyx", line 939, in rasterio._io.DatasetReaderBase._read
rasterio.errors.RasterioIOError: Read or write failed. IReadBlock failed at X offset 16, Y offset 21: TIFFReadEncodedTile() failed.
Fetching from Planetary: 46%|███████████████████████████████████████▏ | 750/1628 [44:59<52:40, 3.60s/it]`
Edited by raffaele.gaetano