Giter VIP home page Giter VIP logo

espa-bulk-downloader's Introduction

espa-bulk-downloader

Automatically downloads all completed espa scenes. Each scene is downloaded to the --target_directory and organized by order.


Support Information

This project is unsupported software provided by the U.S. Geological Survey (USGS) Earth Resources Observation and Science (EROS) Land Satellite Data Systems (LSDS) Project. For questions regarding products produced by this source code, please contact us at [email protected].

Disclaimer

This software is preliminary or provisional and is subject to revision. It is being provided to meet the need for timely best science. The software has not received final approval by the U.S. Geological Survey (USGS). No warranty, expressed or implied, is made by the USGS or the U.S. Government as to the functionality of the software and related material nor shall the fact of release constitute any such warranty. The software is provided on the condition that neither the USGS nor the U.S. Government shall be held liable for any damages resulting from the authorized or unauthorized use of the software.

Installation

Requirements

  • Python Version >= 2.7.9 (required for HTTPS)
  • Note:
    • These were tested with both python 2.7.14 and 3.6.4.
    • For Python Version >= 2.6.0, the requests library must be installed.

Install

  • Install with pip automatically:
pip install git+https://github.com/USGS-EROS/espa-bulk-downloader.git
download_espa_order.py -h
  • Clone this repository:
git clone https://github.com/USGS-EROS/espa-bulk-downloader.git bulk-downloader
cd bulk-downloader
python ./download_espa_order.py -h

Usage

Runtime options

Argument Description
-e or --email The email address used to submit the order
-o or --order The order you wish to download. (ALL or ESPA order-id)
-d or --target_directory The local directory to store downloaded scenes
-u or --username Your ERS username
-p or --password Your ERS password
-c or --checksum Download checksum files
-r or --retry Retry instead of skipping failed files
-n or --no-order-directories Store all files in one directory

Linux/Mac Example: python ./download_espa_order.py -d /some/directory/with/free/space -u your_username

Windows Example: C:\python27\python download_espa_order.py -d C:\some\directory\with\free\space -u your_username

Notes

Retrieves all completed scenes for the user/order and places them into the target directory. Scenes are organized by order.

It is safe to cancel and restart the client, as it will only download scenes one time (per directory)

If you intend to automate execution of this script, please take care to ensure only 1 instance runs at a time. Also please do not schedule execution more frequently than once per hour.

espa-bulk-downloader's People

Contributors

davidvhill avatar jakebrinkmann avatar swika-usgs avatar zhanlilz avatar adamjstewart 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.