Skip to contents

Reads the CSV index registry bundled with the package. Each row defines one index as a gdalcubes/tinyexpr formula written over band roles.

Usage

dft_index_table()

Value

A tibble with columns index, formula, roles (comma-separated role names), and description.

Examples

dft_index_table()
#> # A tibble: 5 × 4
#>   index formula                                 roles        description        
#>   <chr> <chr>                                   <chr>        <chr>              
#> 1 ndvi  (nir - red) / (nir + red)               nir,red      Normalized Differe…
#> 2 kndvi tanh(pow((nir - red) / (nir + red), 2)) nir,red      Kernel NDVI (tanh …
#> 3 ndmi  (nir - swir16) / (nir + swir16)         nir,swir16   Normalized Differe…
#> 4 ndwi  (green - nir) / (green + nir)           green,nir    Normalized Differe…
#> 5 mndwi (green - swir16) / (green + swir16)     green,swir16 Modified NDWI (Xu …