Replies: 1 comment
-
Maybe a basic question first: do you need to download the data to disk? We typically recommend users stream data directly from Blob Storage into their application. Aside from that, you probably want to set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want to download a time series of Sentinel-2 images over one year using the command line (moringa fetch [-h] [--date_range DATE_RANGE] [--auth AUTH] imagery roi out_folder
positional arguments:
imagery Name of the images to fetch (supp.: s2theia, s2planetary, s1grd, s1rtc, planetmosaics,
nasadem, cop-dem-glo-30.
roi Path to a vector GIS file whose extent will be used for spatial query.
out_folder Output folder where fetched data will be downloaded.
optional arguments:
-h, --help show this help message and exit
--date_range DATE_RANGE
Date query in the YYYY-MM-DD/YYYY-MM-DD format. (default: None)
--auth AUTH Authentication information (credentials file, API key, etc.) (default: None)
).
However, I frequently encounter errors during download, with a message like: "rasterio.errors.RasterioIOError: Read or write failed. IReadBlock
failed at X offset 8, Y offset 12: TIFFReadEncodedTile() failed.." As a result, the download is interrupted, and I have to restart it. This often leads to image folders containing missing files after the download. Thus, when starting image preprocessing, error messages indicating missing files persist.
It was suggested that I use an API key for authentication, but this didn't solve the problem significantly.
My question is: how can I download time series without encountering these errors?
error message when downloading time series :
error message preprocessing :
Thank you
Beta Was this translation helpful? Give feedback.
All reactions