Giter Club home page Giter Club logo

modis_county_cropper's Introduction

How to run:

  1. Register for a NASA EARTHDATA Account at https://urs.earthdata.nasa.gov/users/new

  2. Select the MODIS Remote Sensing Dataset you want to download from https://lpdaac.usgs.gov/dataset_discovery/modis/modis_products_table. For our purposes, the right dataset was: MOD09A1.006

  3. Clone this Git repo to your system.

  4. Run: make install.
    This will list the tools you need installed to run the subsequent commands.

  5. Create a tiles.txt file in the same folder as the makefile containing all the MODIS tiles you are interested in. There is a tiles.txt file in the folder containing all the MODIS tiles required for Mainland US.

  6. Run:

user=<earthdata username> pass=<earthdata pass> from=YYYY-MM-DD end=YYYY-MM-DD product=MOD09A1.006 make download

Here from and end specify the time range for which you want to download the MODIS Dataset and product is the product selected in step 2.

  1. Run: make stitch to stitch the individual tiles to get the whole US mainland.

  2. Find Counties of interest from https://www2.census.gov/geo/docs/reference/codes/files/national_county.txt and add their FIPS number to listCount.txt.

  3. Run: make crop
    This will crop the datasets by counties and arrange them in date wise folders in the data folder.

modis_county_cropper's People

Contributors

arkokoley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gaoshuai

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.