Giter Site home page Giter Site logo

yuanzhangao / ndvi_satellitepixel_extraction Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7 KB

The repository is a duplicate of the local folder which contains codes created by Yuanzhan Gao ([email protected]) to conduct NDVI pixel value extractions on NASA's satellite data. Please see the README file for more information.

Python 100.00%
gdal-python hdf4 multiprocessing ndvi-index pandas-python pyproj python3 shapefile shapely sinosodial

ndvi_satellitepixel_extraction's Introduction

NDVI extraction (Python 3.10)

Install

-- pip install gdal (need to download corresponding wheel file to download; check https://www.youtube.com/watch?v=8iCWUp7WaTk&t=136s; import using osgeo)
-- pip install pymodis
-- pip install pandas
-- pip install shapely
-- pip install pyproj

Usage

Extract NDVI values for all districts of Punjab Province of Pakistan (36 in total) from fiscal year 2006 to fisal year 2014. A fiscal year of year XXXX lasts from July 3rd/4th of XXXX to June 17th/18th of XXXX+1

4 files are relevant (Run sequentially in listed order):

1) NDVI_util.py (contain utility functions to assist pixel coordinate calculations);
2) tile_pixel_identification.py (for tiles (h24v5), (h24v6), (h23v5), which we know contain all pixels for Punjab, we classify all pixels' belonging to particular district)
3) NDVI_indexAccess_Implementation.py (download h24v5, h24v6, h23v5 hdf files from MODIS dataset and retrieve pixels obtained from tile_pixel_identification above)
4) NDVI_To_Excel.py (convert the result NDVI array to excel file)

For more details please see in-file comments.

Contact:

If you have additional question, please contact Yuanzhan Gao at [email protected]

ndvi_satellitepixel_extraction's People

Contributors

yuanzhangao avatar

Stargazers

 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.