# ndvi_change_5y

> Current NDVI minus the clear observation on the same tile and pixel closest to five years earlier (within 30 days, so the season matches).

Source: https://docs.invariant-ai.com/fields/ndvi_change_5y

|  |  |
| --- | --- |
| Name | `ndvi_change_5y` |
| Layer | land\_cover |
| Type, unit | float, none |
| Sources (in order) | `SENTINEL2_L2A_PC` |
| Cache | 7 days (`ttl_seconds` 604800) |

## What it is

Current NDVI minus the clear observation on the same tile and pixel closest to five years earlier (within 30 days, so the season matches). Negative = vegetation loss.

## Nulls

status "absent": no current or no matching past clear observation. "failed": Planetary Computer did not answer.

## Example

```bash
curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["ndvi_change_5y"]}'
```

Field object keys are described in [Responses](https://docs.invariant-ai.com/responses). Live definition: [`GET /v1/meta/fields`](https://docs.invariant-ai.com/api/meta-fields).
