GithubHelp home page GithubHelp logo

savmickael / take5_download Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olivierhagolle/take5_download

0.0 1.0 0.0 3 KB

Automated download of take5 data from https://spot-take5.org

Python 100.00%

take5_download's Introduction

Take5_download

This is a simple piece of code to automatically download the SPOT-Take5 products provided by Theia land data center : https://spot-take5.org.

This code was written thanks to the precious help of one my colleague at CNES Jérôme Gasperi who developped the "rocket" interface which is used by Theia, and the mechanism to get a token.

This code relies on python 2.7 and on the curl utility. Because of that, I guess it only works with linux.

Examples

This software is still quite basic, but if you have an account at theia, you may download products using command lines like

  • python ./take5_download.py -s 'ToulouseFrance' -a auth_theia.txt -c SPOT5 -d 2015-04-01 -f 2015-05-01 -l LEVEL2A

which downloads all the SPOT5 (Take5), LEVEL2A products above ToulouseFrance site, acquired in April 2015.

  • python ./take5_download.py -s 'ToulouseFrance' -a auth_theia.txt -c SPOT5

which downloads all the SPOT5 (Take5), LEVEL1C products above ToulouseFrance site.

##Authentification

The file auth_theia.txt must contain your email address and your password on the same line, such as follows : [email protected] top_secret

The program first fetches a token using your email address and password, and then uses it to download the products. As the token is only valid for two hours, itis advised to request only a reasonable number of products.

take5_download's People

Contributors

olivierhagolle avatar

Watchers

 avatar

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.