Skip to content
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

Fix nasa ftp retrieval #41

Merged
merged 10 commits into from
Aug 13, 2019
Merged

Conversation

adybbroe
Copy link
Contributor

@adybbroe adybbroe commented Jul 26, 2019

NASA has changed to no longer support plain FTP access for reasons of security. Only FTPS or HTTPS is now supported by these servers.

Now we use ftplib.FTP_TLS instead of ftplib.FTP to connect to the nasa server in order to download Aqua/Terra downlink schedules

This PR also fixes and improves a few other issues:

  • Get rid of Satpy dependency

  • Fix for latest Pyresample

  • Add stickler checks

  • Use six module to sole urlparse imports instead of try-except solution

  • Closes #xxxx

  • Tests added

  • Tests passed

  • Passes git diff origin/master **/*py | flake8 --diff

  • Fully documented

adybbroe and others added 3 commits April 15, 2019 14:48
Bring my fork up to date
…nnection)

Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
@adybbroe adybbroe requested review from pnuu and mraspaud July 26, 2019 13:42
@coveralls
Copy link

coveralls commented Jul 26, 2019

Coverage Status

Coverage decreased (-0.06%) to 38.373% when pulling b597ca2 on adybbroe:fix-nasa-ftp-retrieval into 9b594a3 on pytroll:master.

@adybbroe
Copy link
Contributor Author

Well, my simple change from "FTP" to "FTP_TLS" was too simple, I will be back....

Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
@adybbroe
Copy link
Contributor Author

Ok, now I think we are ok

adybbroe added 5 commits July 29, 2019 13:14
Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
@adybbroe
Copy link
Contributor Author

Can we please merge this @pnuu and @mraspaud ?

@adybbroe
Copy link
Contributor Author

Sorry, wait, I think there is something I can improve...

Signed-off-by: Adam Dybbroe <Adam.Dybbroe@smhi.se>
@adybbroe
Copy link
Contributor Author

Ok, ready. Can I merge @pnuu ?

@pnuu
Copy link
Member

pnuu commented Aug 13, 2019

If it works, why not. I don't use this feature myself, so can't test.

@adybbroe adybbroe merged commit 918013f into pytroll:master Aug 13, 2019
@adybbroe adybbroe deleted the fix-nasa-ftp-retrieval branch August 13, 2019 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants