Coder Social home page Coder Social logo

gee_spi_calculation_drought's Introduction

GEE_SPI_calculation_drought

Simple handy script for SPI calculation via Google Earth Engine.

The goal of this process is to build a standardized precipitation index (SPI) timeline using daily CHIRPS data. The SPI is utilized because it exposes differences in mean precipitation over a period of time and so offers information on drought-like situations. The script will run in the Google Earth Engine and will perform two separate SPI computations. The "common" SPI is calculated over a period of n months in the first computation. A SPI calculated for one month is commonly referred to as "SPI-1," for six months as "SPI-6," and so on. The second SPI computation is based on the dates of MODIS acquisition. Because MODIS collects data on vegetation, it may be interesting to compare its vegetation indices to the SPI. As a result, a 16-day SPI is calculated, with the same start date as MODIS.

This code aims to calculate SPI for 3 provinces in Iran: Esfahan, Fars and Khuzestan. if you want to change the location, you just have to alter these lines:

var Provinces = admin2.filter(ee.Filter.or( ee.Filter.eq('ADM1_NAME', 'Esfahan'), ee.Filter.eq('ADM1_NAME', 'Khuzestan'), ee.Filter.eq('ADM1_NAME', 'Fars')))

for any futhure question please contact me at: [email protected]

Note: This code is basically inspired from UN-SPIDER recomandation approaches for disaster management.

gee_spi_calculation_drought's People

Contributors

nafisehkakhani avatar

Stargazers

Yi Dong avatar Alice Martinez avatar eat_meata avatar RSer avatar Mark Kipkirui  avatar

Watchers

 avatar

Forkers

kipkiruimark

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.