| WRI Algorithm Specification | ![]() |
The WRI operator algorithm computes the Water
Ratio Index from a given product.
The WRI results from the following equation:
WRI = (G + R) / (N + S1)
, where:
The bands are:
- G is the Green band
- R is the Red band
- N is the NIR band
- S1 is the SWIR 1 band
Also the processor computes an additional flags band called 'wri_flags' with the following bit coding:
| Bit Position | Description |
|---|---|
| Bit 0 | The computed value for WRI is NAN or is Infinite |
| Bit 1 | The computed value for WRI is less than -1 (minus one) |
| Bit 2 | The computed value for WRI is greater than 1 (one) |