Tool Compute Spectral Changes
tool_compute_spectral_changesComputes multitemporal ΔMNDWI, ΔBSI, and ΔNDVI between T0/T1 Sentinel-2 scenes with SCL masks and native 10/20 m resolution to assess river-channel hydrometric change.
Instructions
Calcula diferencias espectrales multitemporales ΔMNDWI, ΔBSI y ΔNDVI entre T0 y T1.
Respeta resoluciones nativas Sentinel-2 (10 m VNIR y 20 m SWIR/SCL), aplica máscara SCL y evalúa la variación hidrométrica global del tramo en coordenadas POSGAR 2007.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"t0_path": "<t0_path>",
"t1_path": "<t1_path>"
},
"name": "tool_compute_spectral_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t0_path | Yes | ||
| t1_path | Yes | ||
| t0_swir_20m_path | No | ||
| t1_swir_20m_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | Estadísticas descriptivas (min, max, mean, std y métricas hidrológicas) del tramo. | |
| status | Yes | Estado del procesamiento espectral (ej. 'success'). | |
| crs_epsg | Yes | Código EPSG métrico POSGAR 2007. | |
| resolution_m | Yes | Resolución espacial de grilla en metros. | |
| bounds_posgar | Yes | Extensión métrica (minx, miny, maxx, maxy). | |
| delta_bsi_path | Yes | Ruta al GeoTIFF Float32 de ΔBSI (BSI_T1 - BSI_T0). | |
| delta_ndvi_path | Yes | Ruta al GeoTIFF Float32 de ΔNDVI (NDVI_T1 - NDVI_T0). | |
| delta_mndwi_path | Yes | Ruta al GeoTIFF Float32 de ΔMNDWI (MNDWI_T1 - MNDWI_T0). | |
| valid_pixel_fraction | No | Fracción de píxeles válidos tras aplicar máscara SCL en T0 y T1. | |
| effective_resolution_swir_m | No | Resolución física nativa de las bandas SWIR (B11/B12) en metros. |