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