Imporvement suggestion for download_ee_image_tiles() #2232
SwenMeyer1978
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added in my local geemap environment a "skip" number to the download_ee_image_tiles() funktion. Since if you download large files for a large area it can happen that the download crash. In order to not redo all the already finished downloads, it makes sense to start a new attempt the tile after already fully downloaded tiles. May be my adjustment is interesting to be implemented. Function adjustment:
def download_ee_image_tiles( ..., skip=0, # Number of tiles to skip
**kwargs,
):
...
for i in range(skip, count): # Start after 'skip' if defined
region = ee.Feature(collection.get(i)).geometry()
...
Args:
...
skip(int, optional): Number of tiles to skip. This can be helpful if download crashed. Download will start with skip + 1
Beta Was this translation helpful? Give feedback.
All reactions