Comments (9)
I tried the following command, and it started downloading some products.
python Sentinel_download.py --latmin 51.75 --latmax 52.25 --lonmin -23.00 --lonmax 23.75 -a apihub.txt -s S1A*GRDH -d 20160508
So sorry, not able to reproduce your issue
Olivier
from sentinel-download.
Dear @olivierhagolle
but as I can see you're not providing -w parameter to save data in different path (in my case -w /home/mateuszk/Testy)
from sentinel-download.
You may try without -w too.
Olviier
from sentinel-download.
Okay, I checked.
Without -w option, I was able to download files (I use Python 2.7.11+, Ubuntu 16.04 LTS)
Previously, I've tried to download files to the folder on the external hard drive.
This time, I've tried to use -w option providing path to the folder on local partition. It seems that it works properly!
Maybe this is caused by the lack of permission to save?
I noticed that scripts do not verify if there's enough space to save file. If unable to save, script says about "success" and tries to download next file.
I've also noticed that although we provide latitude and longitude, downloaded files are not cropped to that area. Is it correct/is it the way it was designed?
from sentinel-download.
Dear Kedziorm,
yes, the tool just downloads the products that intersect the box or contain the point. it does not crop the files.
Thanks for the remark about the check of success. I should try to control the file size, but for that, I have to get it before the download. I'll have to search how to do that. There must be an option for it in wget.
Best regards,
Olivier
from sentinel-download.
Dear Olivier,
I'm trying to download sentinel 2 data but it seems that the file "query_results.xml" is not generated.
Would you know where could this issue come from ?
Thank you very much,
Best regards, Amelie
from sentinel-download.
Dear Amelie,
you should have opened a new issues, as this one is closed, I did not see it. And besides, i was on holidays ;).
I lack information to check, could you please download again the tool (as some changes with made), and provide me the command line you used (opening a new issue).
Cordialement,
Olivier
from sentinel-download.
Dear Olivier,
I'm trying to download sentinel 2 data, however the file "query_results.xml" is empty. The command and result are as follow:
python Sentinel_download.py --lat 43.6 --lon 1.44 -a apihub.txt -o 51 -d 20151226 -s S2
wget --no-check-certificate --user="guest" --password="guest" --output-document=query_results.xml "https://scihub.copernicus.eu/apihub/search?q=footprint:"Intersects(43.600000,1.440000)" filename:S2R051 producttype:S2MSI1C &rows=100"
--2017-06-12 22:43:22-- https://scihub.copernicus.eu/apihub/search?q=footprint:Intersects(43.600000,1.440000)%20filename:S2*R051*%20producttype:S2MSI1C%20&rows=100
Resolving scihub.copernicus.eu (scihub.copernicus.eu)... 131.176.236.28
Connecting to scihub.copernicus.eu (scihub.copernicus.eu)|131.176.236.28|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="Sentinels Scientific Data Hub Search"
Reusing existing connection to scihub.copernicus.eu:443.
HTTP request sent, awaiting response... 401 Unauthorized
Username/Password Authentication Failed.
Traceback (most recent call last):
File "Sentinel_download.py", line 280, in
xml=minidom.parse("query_results.xml")
File "C:\CONDA2.7\lib\xml\dom\minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "C:\CONDA2.7\lib\xml\dom\expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "C:\CONDA2.7\lib\xml\dom\expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
Then I edited apihub.txt to provide credentials to my SciHub account (https://scihub.copernicus.eu/dhus/#/home). However the error still exists.
Can you give me some advice? Thank you.
Best regards,
Liangzhong
from sentinel-download.
You should introduce your scihub account and password in apihub.txt file.
Best regards,
Olivier
from sentinel-download.
Related Issues (20)
- CUID#7 - Download aborted. HOT 1
- Sorry it was not and issue. HOT 1
- NOT AN ISSUE, But a doubt HOT 4
- cannot verify scihub.copernicus.eu's certificate HOT 2
- Sentinel 2B not downloading HOT 4
- Bug found (minor) HOT 1
- windows... 'empty' query_results.xml? HOT 4
- windows 10 : No such file or directory: 'query_results.xml' and 'aria2c' is not recognized as an internal or external command
- cannot access data for some dates HOT 2
- Only the first file is downloaded to the specified folder
- Product L2A (S2MSI2Ap) is no longer available
- Bug found argument -o
- How to use in win10?
- I am new to Sentinel-downlowd, wget is not recogniced as internal command? I run this python script though anaconda with jupyter notebook and python 2.7 on win machine. HOT 1
- S1 bug? HOT 3
- 'os' is not defined - windows machine HOT 2
- Extension to cover bulk downloads of Sentinel 3 HOT 2
- Download Sentinel 2 TCI images from SciHub
- no matches found: S1A*SLC
- No files are getting downloaded HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentinel-download.