Problems downloading Sentinel-1 products

Oh, yes, sorry, that is a mistake in the code I posted here. I get the authentication failure by using --user.

Alright. What OS are you running?

I’m using Win7, and just successfully tried the following command:

wget --no-check-certificate --continue --user="USER" --password="SECRET" --output-document=D:/S1A_IW_RAW__0SDV_20160707T164223_20160707T164255_012045_0129DA_3759.SAFE.zip "https://scihub.copernicus.eu/dhus/odata/v1/Products('6ec244b1-7394-4348-af91-3eda02bf582b')/$value"

So if you’re also running Windows, try setting quotes for the username and password.

1 Like

I am also using Win 7. After replacing “USER” and “SECRET” by my Username/Password combination, the command you posted yields the following message:
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=“OData service”
Connecting to scihub.copernicus.eu (scihub.copernicus.eu)|131.176.236.28|:443…
connected.
HTTP request sent, awaiting response… 500 Internal Server Error
2016-07-11 10:52:17 ERROR 500: Internal Server Error.

Are you running the command in cmd.exe or through another programming environment / language?

Also, if you’re registered since last year, you may try accessing the data through the API hub. But be aware that the archive there only goes back until 2015-11-15.

I’m running the code in the cmd.exe.

Ah, using the API hub works, many thanks for your help!

Do you know a possible reason why using the API hub works, while using the Data hub fails?

If the server is the only thing you’re changing, then there’s no reason it shouldn’t work.

Anyways, sometimes there is unannounced maintenance or just things aren’t working for some reason on their side. So it pays off to monitor the situation and try again in some time.

Strange. Anyway, the archive on the API hub server provides enough data for my purposes; so as long as this works everything’s fine for me.

Thanks again for your help!

Hi Val, Thank you for giving solutions.
If you go to this web page (https://scihub.copernicus.eu/userguide/5APIsAndBatchScripting) then you will find an example written as # wget --no-check-certificate --user={USERNAME} --password={PASSWORD} --output-document=query_results.txt “https://scihub.copernicus.eu/dhus/search?q=*&rows=25”) #. For new programmers like me {USERNAME} and {PASSWORD} could be so confusing, because if we write {abcd} and {efgh} then it will not work, rather if we write “abcd” and “efgh” then it is working. Why it is written in the website using { }. I think they should change it, otherwise, someone could hang here for a long and lose interest.

1 Like

Thank you for your help…

Hi,

I am using the following https://scihub.copernicus.eu/dhus/#/home to download sentinel-1 and I am facing the same problem, but I am not quite sure that I got the solution, so would you please to help me and many thanks in advance.

Hi,

I am using the following https://scihub.copernicus.eu/dhus/#/home2
to download sentinel-1 and I am facing the same problem, but I am not
quite sure that I got the solution, so would you please to help me and
many thanks in advance.

Hi,

I am also finding that my windows 10 log in is not being accepted in QGIS using Semi Automatic Classification tool. I was successful in downloading one image of the study area but while trying to do the same for other images - my SAC is unable to connect.
Is there a limit to the images that one can download ?

With regards
Mohanraj

you can only download 2 products at the same time - at least from the official Sentinel Science Hub.

Thanks, When can I download another image ?

as soon as the first is finished :slight_smile:
You can download 2 files simultaneously.

Certain images of sentinel 1 in sentinel hub has been denoted as offline and i am unable to download it… What is the other mean to download those images which are tagged as offline?

Could anybody help me out…
@falahfakhri @ABraun

please have a look at this topic: ESA Copernicus data access - Long Term Archive and its drawbacks

qglaude explains why this is the case and how you get the products. There are also some alternatives discussed in the topic.

2 Likes

thank you @ABraun and @falahfakhri

Also please take a look at the following post for quick retrieve S-1 images

Source of the post

1 Like

Hi. I tried using your code and changed the username and password. I got this:
–2021-05-19 23:14:11-- https://scihub.copernicus.eu/dhus/odata/v1/Products(‘6ec244b1-7394-4348-af91-3eda02bf582b’)/$value
Resolving scihub.copernicus.eu (scihub.copernicus.eu)… 146.59.215.226
Connecting to scihub.copernicus.eu (scihub.copernicus.eu)|146.59.215.226|:443… connected.
HTTP request sent, awaiting response… 401 Unauthorized
Authentication selected: Basic realm=“OData service”
Reusing existing connection to scihub.copernicus.eu:443.
HTTP request sent, awaiting response… 202 Accepted
Length: 0 [text/plain]
Saving to: ‘D:/S1A_IW_RAW__0SDV_20160707T164223_20160707T164255_012045_0129DA_3759.SAFE.zip’

D:/S1A_IW_RAW__0SDV_20160707T [ <=> ] 0 --.-KB/s in 0s

2021-05-19 23:14:12 (0.00 B/s) - ‘D:/S1A_IW_RAW__0SDV_20160707T164223_20160707T164255_012045_0129DA_3759.SAFE.zip’ saved [0/0]

Is this right? I am new to this method of downloading sentinel-1 image. Also, I cannot retrieve the image. It has been pending since May 16. Any ideas about this? Thanks a lot!