ericlindsey / sentinel_query_download Goto Github PK
View Code? Open in Web Editor NEWUses ASF API to search for Sentinel-1 IW mode data based on keywords including geolocation, then downloads from either AWS Southeast Asia Public Dataset, or ASF
Uses ASF API to search for Sentinel-1 IW mode data based on keywords including geolocation, then downloads from either AWS Southeast Asia Public Dataset, or ASF
Hi @ericlindsey ,
I am getting this error when I run the code in python 3.6 through the command line.
The result saved in the csv file looks like this:
Could you please help?
Thank you!
the code sucssesfully run , but I cannot download the zip files
using this command: python sentinel_query_download.py sentinel_query.config --verbose I can download the csv file , but when i get to the next step using this command: python sentinel_query_download.py sentinel_query.config --verbose --download , I cannot download the zip
the output is following:
Running ASF API query:
https://api.daac.asf.alaska.edu/services/search/param?output=csv&platform=Sentinel-1A,Sentinel-1B&processingLevel=SLC&beamMode=IW&intersectsWith=POLYGON((-107.7975 35.9141,-106.3267 34.9141,-106.3267 35.3502,-106.7975 35.3502,-107.7975 35.9141))&start=2019-04-05T00:00:00UTC&end=2019-05-05T00:00:00UTC&relativeOrbit=56
Query result saved to asf_query_2021_04_15-11_34_31.csv
Found 6 scenes.
Scene S1A_IW_SLC__1SDV_20190504T131059_20190504T131126_027078_030D08_D71A, Path 56 / Frame 477
Scene S1A_IW_SLC__1SDV_20190504T131035_20190504T131102_027078_030D08_D9ED, Path 56 / Frame 472
Scene S1A_IW_SLC__1SDV_20190422T131059_20190422T131126_026903_0306A6_A4FD, Path 56 / Frame 477
Scene S1A_IW_SLC__1SDV_20190422T131034_20190422T131101_026903_0306A6_B8F4, Path 56 / Frame 472
Scene S1A_IW_SLC__1SDV_20190410T131058_20190410T131125_026728_03005A_EE7F, Path 56 / Frame 477
Scene S1A_IW_SLC__1SDV_20190410T131034_20190410T131100_026728_03005A_33F2, Path 56 / Frame 472
Running 2 downloads in parallel.
Downloading granule S1A_IW_SLC__1SDV_20190504T131059_20190504T131126_027078_030D08_D71A to directory P056/F0477
Try AWS download first.
wget -c --no-check-certificate -q http://sentinel1-slc-seasia-pds.s3-website-ap-southeast-1.amazonaws.com/datasets/slc/v1.1/2019/05/04/S1A_IW_SLC__1SDV_20190504T131059_20190504T131126_027078_030D08_D71A/S1A_IW_SLC__1SDV_20190504T131059_20190504T131126_027078_030D08_D71A.zip
Downloading granule S1A_IW_SLC__1SDV_20190504T131035_20190504T131102_027078_030D08_D9ED to directory P056/F0472
Try AWS download first.
wget -c --no-check-certificate -q http://sentinel1-slc-seasia-pds.s3-website-ap-southeast-1.amazonaws.com/datasets/slc/v1.1/2019/05/04/S1A_IW_SLC__1SDV_20190504T131035_20190504T131102_027078_030D08_D9ED/S1A_IW_SLC__1SDV_20190504T131035_20190504T131102_027078_030D08_D9ED.zip
AWS download failed. Trying ASF download instead.
wget -c --no-check-certificate -q --http-user=shamirc --http-password=Lovecxm2021 https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_SLC__1SDV_20190504T131059_20190504T131126_027078_030D08_D71A.zip
AWS download failed. Trying ASF download instead.
wget -c --no-check-certificate -q --http-user=shamirc --http-password=Lovecxm2021 https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_SLC__1SDV_20190504T131035_20190504T131102_027078_030D08_D9ED.zip
ASF download failed. Granule not downloaded.
Downloading granule S1A_IW_SLC__1SDV_20190422T131059_20190422T131126_026903_0306A6_A4FD to directory P056/F0477
Try AWS download first.
wget -c --no-check-certificate -q http://sentinel1-slc-seasia-pds.s3-website-ap-southeast-1.amazonaws.com/datasets/slc/v1.1/2019/04/22/S1A_IW_SLC__1SDV_20190422T131059_20190422T131126_026903_0306A6_A4FD/S1A_IW_SLC__1SDV_20190422T131059_20190422T131126_026903_0306A6_A4FD.zip
ASF download failed. Granule not downloaded.
Downloading granule S1A_IW_SLC__1SDV_20190422T131034_20190422T131101_026903_0306A6_B8F4 to directory P056/F0472
Try AWS download first.
wget -c --no-check-certificate -q http://sentinel1-slc-seasia-pds.s3-website-ap-southeast-1.amazonaws.com/datasets/slc/v1.1/2019/04/22/S1A_IW_SLC__1SDV_20190422T131034_20190422T131101_026903_0306A6_B8F4/S1A_IW_SLC__1SDV_20190422T131034_20190422T131101_026903_0306A6_B8F4.zip
AWS download failed. Trying ASF download instead.
wget -c --no-check-certificate -q --http-user=shamirc --http-password=Lovecxm2021 https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_SLC__1SDV_20190422T131059_20190422T131126_026903_0306A6_A4FD.zip
AWS download failed. Trying ASF download instead.
wget -c --no-check-certificate -q --http-user=shamirc --http-password=Lovecxm2021 https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_SLC__1SDV_20190422T131034_20190422T131101_026903_0306A6_B8F4.zip
ASF download failed. Granule not downloaded.
Downloading granule S1A_IW_SLC__1SDV_20190410T131058_20190410T131125_026728_03005A_EE7F to directory P056/F0477
Try AWS download first.
wget -c --no-check-certificate -q http://sentinel1-slc-seasia-pds.s3-website-ap-southeast-1.amazonaws.com/datasets/slc/v1.1/2019/04/10/S1A_IW_SLC__1SDV_20190410T131058_20190410T131125_026728_03005A_EE7F/S1A_IW_SLC__1SDV_20190410T131058_20190410T131125_026728_03005A_EE7F.zip
ASF download failed. Granule not downloaded.
Downloading granule S1A_IW_SLC__1SDV_20190410T131034_20190410T131100_026728_03005A_33F2 to directory P056/F0472
Try AWS download first.
wget -c --no-check-certificate -q http://sentinel1-slc-seasia-pds.s3-website-ap-southeast-1.amazonaws.com/datasets/slc/v1.1/2019/04/10/S1A_IW_SLC__1SDV_20190410T131034_20190410T131100_026728_03005A_33F2/S1A_IW_SLC__1SDV_20190410T131034_20190410T131100_026728_03005A_33F2.zip
AWS download failed. Trying ASF download instead.
wget -c --no-check-certificate -q --http-user=shamirc --http-password=Lovecxm2021 https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_SLC__1SDV_20190410T131058_20190410T131125_026728_03005A_EE7F.zip
AWS download failed. Trying ASF download instead.
wget -c --no-check-certificate -q --http-user=shamirc --http-password=Lovecxm2021 https://datapool.asf.alaska.edu/SLC/SA/S1A_IW_SLC__1SDV_20190410T131034_20190410T131100_026728_03005A_33F2.zip
ASF download failed. Granule not downloaded.
ASF download failed. Granule not downloaded.
Looks forward your anwser, thank you vey much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.