Watch the companion tutorial: Before You Trust an NDVI Map — Five Checks That Matter. English captions are available. The narration calls this companion a draft; this article is now published.
A plausible-looking NDVI map can still come from the wrong bands, an inappropriate scale, a misleading mask or an incorrectly exported file. This worked checklist shows what to inspect before interpreting or sharing the result.
The example uses our archived Sentinel-2 teaching sample. It demonstrates processing consistency; crop identity, crop condition and independent ground-position accuracy have not been established.
1. Confirm physical band identity
Page contents
The prepared stack has four bands in the declared order blue (B2), red (B4), near infrared (B8) and scene classification (SCL). Its band descriptions are empty. Four bands alone cannot prove their identity. Confirm the order from your export code and provenance. A confirmation flag records your acknowledgement; it is not an automatic identification test.
2. Apply the product-specific scale and offset
For this archived harmonized teaching sample, the reflectance conversion is stored value × 0.0001, with zero offset. These are sample-specific settings. Do not assume they apply to every product. A common multiplicative scale cancels algebraically in NDVI when both bands use that scale, no additive offset and a nonzero denominator. It does not generally cancel in SAVI or EVI because of their additive constants.
3. State your validity policy and count observations
The private workflow candidate retains SCL classes 4, 5 and 6: vegetation, bare soil and water. It also uses source masks, a conservative reflectance interval of [0,1] and index-specific denominator checks. Water is included, so this is not automatically a vegetation-only analysis. The interval is a processing convention that can exclude values from otherwise valid products; evaluate it for your application. SCL screening cannot guarantee every retained pixel is uncontaminated.
The saved sample report retains 4,536 cells in each index, with no exclusions for this tiny sample. That result does not demonstrate effective cloud removal on a challenging scene. Missing values must remain distinguishable from valid zeros.
What the sample actually shows
Reopened output means are NDVI 0.467969, SAVI 0.274651 and EVI 0.287490 (rounded). These are results from one archived teaching chip, not field-average crop-health estimates. A difference between index means does not establish comparative accuracy.

4. Reopen the file you intend to share
Check the saved raster, rather than relying only on an in-memory array. This sample has 63 columns, 72 rows, EPSG:32643 and 10 m pixels. Compare its CRS, transform, bounds, dimensions, mask and values with the intended grid and result. Grid agreement with an archived input is an internal consistency check, not an independent validation of geographic accuracy.
On 1 December 2026, the three archived output files matched their recorded SHA-256 hashes. Separate NumPy expressions reproduced their pixel values within float32 tolerance, and their CRS and transforms matched the input. This was an archived-output replay on the current host, not a fresh Windows installation test of the workflow wrapper.
A small read-only inspector
Save the following as inspect_index.py, install NumPy and Rasterio in your chosen Python environment, and run python inspect_index.py path/to/ndvi.tif. It reads band one, respects its mask, and excludes non-finite values from the summary. It reports stored values; it does not apply scale or offset automatically. Displayed metadata still needs comparison with your expected source.
import sys
import numpy as np
import rasterio
with rasterio.open(sys.argv[1]) as src:
band = src.read(1, masked=True)
values = band.compressed()
finite = values[np.isfinite(values)]
print("shape:", src.shape, "bands:", src.count)
print("CRS:", src.crs)
print("transform:", src.transform)
print("bounds:", src.bounds)
print("dtype / nodata:", src.dtypes[0], src.nodata)
print("scale / offset metadata:", src.scales[0], src.offsets[0])
print("unmasked / finite:", values.size, finite.size)
if finite.size:
print("stored min / mean / max:",
finite.min(), finite.mean(dtype=np.float64), finite.max())
else:
print("No finite unmasked values")
5. Investigate unusual values before adjusting colours
The sample EVI maximum is approximately 1.9083 and remains in the numerical output. A display capped at 1 can conceal values above the selected colour range without changing the file. Inspect the inputs, formula denominator and screening policy. Do not silently clip values and present the result as a quality improvement.
What this workflow does—and does not—establish
The current private Windows release candidate adds prepared-stack preflight, explicit assumptions, exclusion counts, staged output generation and local HTML/JSON evidence. Its saved report is the example reviewed here. It has not been independently tested by a new user, and a wholly clean installation remains pending. It is not a validated crop-health, yield or insurance decision system. No new product release or purchase recommendation is announced in this lesson.
Your five-check record
Before sharing a map, record: confirmed band identity; scale and offset with their source; the validity policy and usable counts; reopened geometry, masks and values; and unusual values requiring investigation. Keep checked facts separate from assumptions.
Continue learning
Use the existing learning path for the detailed alignment, missing-pixel, real-scene, GeoTIFF and QGIS examples.
Sources and provenance
Official Rasterio documentation on nodata masks and georeferencing supports the mask/geometry inspection steps. Sample provenance and its unresolved limitations are documented in the real-scene lesson. Video narration is synthetic (stock Kokoro bm_george); the calculations and checks described above were executed as recorded.
Free satellite-data learning path · Sample provenance and worked results · Rasterio masks · Rasterio georeferencing