Skip to content

Indexes

Rodrigo E. Principe edited this page Oct 16, 2018 · 1 revision

Vegetation Indexes

A shorthand to the most popular vegetation indexes. All functions in this module return a function to map over an ImageCollection

HOW TO USE IT

Import module

var indexes = require('users/fitoprincipe/geetools:indexes');

Import the desired function

var ndvi = indexes.ndvi('B5', 'B4'); // Landsat 8

Apply to a whole collection

var collection_ndvi = collection.map(ndvi);

Indexes available

  • ndvi
  • nbr
  • nbr2
  • evi