Hi, I want to ask about the error I got when I try to download Sentinel 1 Imagery using asf search python library. I am sure that my script is working weeks ago. But now it shows error like this
raise ASFDownloadError(f'Error downloading {url}: directory not found: {path}')
asf_search.exceptions.ASFDownloadError: Error downloading https://datapool.asf.alaska.edu/GRD_HD/SA/S1A_IW_GRDH_1SDV_20240203T112657_20240203T112722_052394_0655F5_824C.zip: directory not found:
Strangely when I put link above in my browser it download the data immediately.
I tried to search the solution online but I cannot find it. I also attach my script with this email just in case you want to check it. I hope you can help me with this problem.
ASF_Search Download Error
-
- Posts: 5
- Joined: Thu Oct 06, 2022 8:29 pm America/New_York
Re: ASF_Search Download Error
Thank you for your post!
We were unable to recreate this behavior, but this particular error gets raised when the folder you're attempting to download to doesn't exist. Would you mind confirming that the folder path you were downloading to still exists and matches the path you're providing to asf-search?
If you're running your script from a different directory than before this can also cause this issue if you didn't provide an absolute file path.
We were unable to recreate this behavior, but this particular error gets raised when the folder you're attempting to download to doesn't exist. Would you mind confirming that the folder path you were downloading to still exists and matches the path you're providing to asf-search?
If you're running your script from a different directory than before this can also cause this issue if you didn't provide an absolute file path.
Re: ASF_Search Download Error
Great. Now my script able to run smoothly. Thanks for the answer, Sir.