Giter Site home page Giter Site logo

maxmarumbwa / awesome-ee-spectral-indices Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awesome-spectral-indices/awesome-spectral-indices

0.0 1.0 0.0 1.1 MB

A ready-to-use curated list of spectral indices for Google Earth Engine.

Home Page: https://awesome-ee-spectral-indices.readthedocs.io/

License: MIT License

Python 100.00%

awesome-ee-spectral-indices's Introduction

Awesome Spectral Indices for Google Earth Engine!

https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/davemlz/5e9f08fa6a45d9d486e29d9d85ad5c84/raw/spectral.json https://readthedocs.org/projects/awesome-ee-spectral-indices/badge/?version=latest

https://img.shields.io/github/stars/davemlz/awesome-ee-spectral-indices?style=social

A ready-to-use curated list of spectral indices for Google Earth Engine.

Spectral Indices

The ready-to-use curated list of spectral indices (check the list here) is presented here in order to compute multiple spectral indices in Google Earth Engine for different datasets. This list is used by the eemont Python package in order to compute spectral indices in the Python API and by the spectral module in order to access and compute the spectral indices in the Code Editor (JavaScript API).

Attributes

Each item of the list has the following attributes:

  • short_name: Short name of the index (e.g. "NDWI").
  • long_name: Long name of the index (e.g. "Normalized Difference Water Index").
  • formula: Expression/formula of the index (e.g. "(N - G)/(N + G)").
  • bands: List of required bands/parameters for the index computation (e.g. ["N","G"]).
  • reference: Link to the index reference/paper/doi (e.g. "https://doi.org/10.1080/01431169608948714").
  • type: Type/application of the index (e.g. "water").
  • date_of_addition: Date of addition to the list (e.g. "2021-04-07").
  • contributor: GitHub user link of the contributor (e.g. "https://github.com/davemlz").

Expressions

The formula of the index is presented as a string/expression (e.g. "(N - R)/(N + R)") that can be used by the ee.Image.expression() method in Google Earth Engine. The parameters used in the expression for each index follow this standard:

Standard variables for spectral indices expressions and satellite equivalents.
Description Standard Sentinel-2 Landsat 8 Landsat 457 MODIS
Aerosols A B1 B1    
Blue B B2 B2 B1 B3
Green G B3 B3 B2 B4
Red R B4 B4 B3 B1
Red Edge 1 RE1 B5      
Red Edge 2 RE2 B6      
Red Edge 3 RE3 B7      
Red Edge 4 RE4 B8A      
NIR N B8 B5 B4 B2
SWIR 1 S1 B11 B6 B5 B6
SWIR 2 S2 B12 B7 B7 B7
Thermal 1 T1   B10 B6  
Thermal 2 T2   B11    

Additional index parameters also follow a standard:

  • g: Gain factor (e.g. Used for EVI).
  • L: Canopy background adjustment (e.g. Used for SAVI and EVI).
  • C1: Coefficient 1 for the aerosol resistance term (e.g. Used for EVI).
  • C2: Coefficient 2 for the aerosol resistance term (e.g. Used for EVI).
  • cexp: Exponent used for OCVI.
  • nexp: Exponent used for GDVI.
  • alpha: Weighting coefficient used for WDRVI.
  • sla: Soil line slope.
  • slb: Soil line intercept.

The kernel indices are constructed using a special type of parameters:

  • kAB: Kernel of bands/parameters A and B (e.g. kNR means k(N,R), where k is the kernel function).
  • p: Kernel degree (used for the polynomial kernel).
  • c: Free parameter that trades off the influence of higher-order versus lower-order terms (used for the polynomial kernel).

Used by

JavaScript API

Python API

R (rgee)

List

Check the full list of spectral indices here.

Download Raw Files

You can download or clone the repository:

git clone https://github.com/davemlz/awesome-ee-spectral-indices.git

Or you can download the single files here (right-click > Save link as...):

Credits

awesome-ee-spectral-indices's People

Contributors

actions-user avatar csaybar avatar davemlz 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.