Sentinelhub Ndvi Stats
sentinelhub_ndvi_statsNDVI vegetation statistics over an area and time range — returns per-interval mean/min/max/stdev of the vegetation index (NDVI) from Sentinel-2 imagery for a bbox or GeoJSON polygon. Derived numbers only, no imagery. Example: sentinelhub_ndvi_stats({ bbox: [12.44, 41.87, 12.53, 41.93], date_from: "2023-05-01", date_to: "2023-09-01", aggregation: "P1M", _apiKey: "client_id:client_secret" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | Bounding box [minLon, minLat, maxLon, maxLat] in EPSG:4326. Provide this OR `geometry`. | |
| _apiKey | Yes | Sentinel Hub OAuth credentials as "client_id:client_secret" (from sentinel-hub.com or free at dataspace.copernicus.eu). | |
| date_to | Yes | End date, YYYY-MM-DD. | |
| geometry | No | A GeoJSON Polygon geometry (EPSG:4326) as an alternative to `bbox`. | |
| date_from | Yes | Start date, YYYY-MM-DD. | |
| aggregation | No | ISO-8601 aggregation interval (default "P1M" = monthly). E.g. "P1D", "P10D", "P1M". |