-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with password file #16
Comments
Dear Andronikos |
Dear Andronikos, Python is a well tested code so I can't see how there could be a bug in the "file" function. |
Hi Adronikos! Gert |
Hi Andronikos and Gert The command below retrieved the following products The only thing is that I don't know how to access to the acquisition date in the catalog request ( I know how to access the ingestion date), so I filter the date a posteriori. I am now having troubles because of the new limitation to 100 rows in the requests. Best regards,
|
I have implemented again possibility to make queries with constraints on ingestion date |
Hi Olivier, thank you for your help. Actually I managed to solve the issue with the dates. The problem was that the tabs and spaces were messed up on that part of the code. Now it is working perfectly. However, I observed another issue. The images that I have downloaded using the script there is missing one xml file in comparison with images that I have downloaded manually. The file that is missing you can find it if you go to : \S2A_OPER_PRD_MSIL1C_PDMC_20160926T222130_R008_V20160925T104022_20160925T104115.SAFE\DATASTRIP\S2A_OPER_MSI_L1C_DS_SGS__20160925T161027_S20160925T104115_N02.04\QI_DATA Have you got any idea why this is happening? Regards, |
Hello, I can confirm that I too had a similar issue with wrong password file. apihub.txt file existed and had the right credentials. Hard coding the username and password was needed. |
@anuchandra |
Hi @SugethaK It might happen that the password has special characters which are changed when parsed. |
Hello @olivier,
|
Hello Olivier,
when I am trying to run the following line in the command line I always receive "error with the password file". As a result the problem is between line 160 - 168. What I figured out ithat if I add a print statement <<(print ("error"))>> before the code <<f=file(options.apihub)>> line 161 and I run the following code in the command line <<Sentinel_download.py --lat 43.6 --lon 1.44 -a apihub>> I get in my screen the following:
![image](https://cloud.githubusercontent.com/assets/10434714/20100559/55b49672-a5be-11e6-8fff-e77057a123c9.png)
However, if I add a print statement after the <<f=file(options.apihub)>>, it never appears on my screen. So, I believe the line <<f=file(options.apihub)>> does not work.
Any help would be much appreciated. Thank you!!
Regards,
Andronikos
The text was updated successfully, but these errors were encountered: