Giter Club home page Giter Club logo

Comments (8)

olivierhagolle avatar olivierhagolle commented on July 24, 2024

Sorry for replying late. This is indeed the place where issues should be posted.
I am not sure i understand this issue very well.
Could you please provide your command lines so that i can test ?
Best regards,
Olivier

from sentinel-download.

Milutinke92 avatar Milutinke92 commented on July 24, 2024

I download a fresh copy of your api, and setup like this:
export https_proxy=http://proxy.rcub.bg.ac.rs:8080
export http_proxy=http://proxy.rcub.bg.ac.rs:8080

Now the downloading started but now there is a second issue.
It saty "404 not found".
https://scihub.copernicus.eu/odata/v1/Products('b95cb837-6606-484b-89d6-b10bfaead9bd')/Nodes('S2A_OPER_PRD_MSIL1C_PDMC_20160626T152756_R136_V20160626T093035_20160626T093744.SAFE')/Nodes('DATASTRIP')/Nodes('S2A_OPER_MSI_L1C_DS_MPS__20160626T131738_S20160626T093744_N02.04')/Nodes
If you go to this link (copied from console when running api) you will see "page not found"

BUT, if you change link into https://scihub.copernicus.eu/dhus/odata/v1/Products('b95cb837-6606-484b-89d6-b10bfaead9bd')/Nodes('S2A_OPER_PRD_MSIL1C_PDMC_20160626T152756_R136_V20160626T093035_20160626T093744.SAFE')/Nodes('DATASTRIP')/Nodes('S2A_OPER_MSI_L1C_DS_MPS__20160626T131738_S20160626T093744_N02.04')/Nodes
The file is there.

So /dhus/odata/ works, /odata/ doesn't work.

I tried to add --dhus into console, and that's okay for first file granule_dir or something like that, but then he tries to download from /odata/ all other files.

Help?

from sentinel-download.

Milutinke92 avatar Milutinke92 commented on July 24, 2024

I tried to modify your API, to insert /dhus/ in every link.
The download start. But on some link same error: SSL Connection could not be establish.

I upload you log.txt file to see console output: http://www102.zippyshare.com/v/H9TsdBND/file.html

from sentinel-download.

Milutinke92 avatar Milutinke92 commented on July 24, 2024

This is fresh copy of API downloaded from here. When I add --dhus same error.
1
2

And one more thing. it happens that SSL conection sometimes apear on first file, sometimes on 10th and etc. no rule for that.

from sentinel-download.

olivierhagolle avatar olivierhagolle commented on July 24, 2024

Thanks Milutinke92.
I have solved this issue (error 404) on Saturday, (it is due to an inconsistency within the files provided by scihub) please pull again the reprository.
I am interested to know if it solves the problem for you too

Regarding the SSL issue, I have never seen it on my side, so I do not know how I can resolve it. Maybe is it a problem with your proxy ?
Olivier

from sentinel-download.

Milutinke92 avatar Milutinke92 commented on July 24, 2024

I did and same issue.

wget --no-check-certificate --user="xxxx" --password="xxx" --continue --output-document=temp.xml "https://scihub.copernicus.eu/apihub/odata/v1/Products('c4f7c88d-c6b0-473a-879f-a9819f2f1113')/Nodes('S2A_OPER_PRD_MSIL1C_PDMC_20160620T201325_R051_V20160620T105336_20160620T105336.SAFE')/Nodes('HTML')/Nodes"
--2016-06-27 12:42:48-- https://scihub.copernicus.eu/apihub/odata/v1/Products('c4f7c88d-c6b0-473a-879f-a9819f2f1113')/Nodes('S2A_OPER_PRD_MSIL1C_PDMC_20160620T201325_R051_V20160620T105336_20160620T105336.SAFE')/Nodes('HTML')/Nodes
Resolving proxy.rcub.bg.ac.rs (proxy.rcub.bg.ac.rs)... 147.91.1.42, 147.91.1.43, 147.91.1.44, ...
Connecting to proxy.rcub.bg.ac.rs (proxy.rcub.bg.ac.rs)|147.91.1.42|:8080... connected.
Unable to establish SSL connection.
Traceback (most recent call last):
File "Sentinel_download.py", line 351, in
get_dir('HTML',url_html_dir,product_dir_name,wg,auth,wg_opt,value)
File "Sentinel_download.py", line 67, in get_dir
download_tree(product_dir_name+'/'+dir_name,"temp.xml",wg,auth,wg_opt,value)
File "Sentinel_download.py", line 40, in download_tree
urls,types,names=get_elements(xml_file)
File "Sentinel_download.py", line 29, in get_elements
line=fic.readlines()[0].split('')
IndexError: list index out of range
stefan@W04704:~/Downloads/Sentinel-download-master$

from sentinel-download.

olivierhagolle avatar olivierhagolle commented on July 24, 2024

As I said, the new patch corrects for the error 404, but not for the issue with your proxy.
Maybe should you ask support from you proxy support.
Olivier

from sentinel-download.

Milutinke92 avatar Milutinke92 commented on July 24, 2024

It's something with our proxy on faculty. Thanks for all reply!

from sentinel-download.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.