You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.
If any of the bands (blue, green or red) fails during the download, felicette doesn't re-download it. Rerunning the program again for the specific place shows the required data exists for the said band. But in reality it is an incomplete download. This throws an error
rasterio.errors.RasterioIOError: Read or write failed. /home/mithun/felicette-data/LC81430542020100/LC81430542020100-b4.tiff, band 1: IReadBlock failed at X offset 1, Y offset 6: TIFFReadEncodedTile() failed.
Current workaround is to delete the folder and run again.
The text was updated successfully, but these errors were encountered:
Let's see if there are options to validate check-sums of band files, so it doesn't download the required data all over again.
Another way is to handle the removal of the data directory on except rasterio.errors.RasterioIOError in felicette/sat_processor.py
If checksum can be implemented, that would be the best option
Or can go with '--refresh' flag 🚩
The folder delete on exception should be done on network error and not after the above mentioned exception. If the first band is error, the second and third gets downloaded before the exception, which would be useless.
A long term solution to this would be using check-sums, but will add this to to-do, due to less bandwidth. Feel free to reopen the issue if the problem persists after the next release
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If any of the bands (blue, green or red) fails during the download, felicette doesn't re-download it. Rerunning the program again for the specific place shows the required data exists for the said band. But in reality it is an incomplete download. This throws an error
rasterio.errors.RasterioIOError: Read or write failed. /home/mithun/felicette-data/LC81430542020100/LC81430542020100-b4.tiff, band 1: IReadBlock failed at X offset 1, Y offset 6: TIFFReadEncodedTile() failed.
Current workaround is to delete the folder and run again.
The text was updated successfully, but these errors were encountered: