Coder Social home page Coder Social logo

giulange / get_modis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jgomezdans/get_modis

0.0 1.0 0.0 151 KB

Downloading MODIS data from the USGS repository

License: GNU General Public License v3.0

Python 18.76% MATLAB 79.69% Shell 1.55%

get_modis's Introduction

get_modis

Info:MODIS data product granule downloader
Author: J Gomez-Dans <[email protected]>
Date: 2013-06-17
Description:README file

Description

This repository contains a Python script (and executable) that allows one to download MODIS data granules for different products and periods.

The code is quite simple and generic, and should work with most standard Python installations.

See more here.

Usage

This is a command line tool. It has only been tested on Linux, but should also work with Windows. There are a number of options that can be used, and you can get a list of them issuing the -h or --help commands. Also note that as of summery 2016, you must have a username and password pair to access the server. If you haven't got one, you can get it here. You will also need to allow your user account to access the USGS MODIS archive (you only need to do this once).

Useful things to bear in mind:

  • The platform MUST be one of MOLA (Aqua), MOLT (Terra) or MOTA (Combined).
  • The product must have an indication of the collection follwing the product name. i.e. MCD45A1.005)
  • The --begin and --end flags are optional, and yu can ignore them if you just want the complete year
  • Use the --proxy option to set the required proxy. It should be read from the environment variable, but this is added flexiblity

The code has some logic not to download files several times, and the overall behaviour rests on the --quick flag: if this flag is not set, then the program will look at the remote available files and skip any files that are present and have the same file size as the remote. In some cases, this could lead to duplicities are re-processing takes place. If the --quick flag is set, then when the remote list of available dates is created, any present files that match the requested product and year will be ignored, irrespective of file size. This can mean that files that failed to download half way through will not the downloaded, but it's an overall faster process if a download failed halfway through a year.

get_modis's People

Contributors

giulange avatar jgomezdans avatar atedstone avatar maxchernet avatar paumoreno 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.