Hi guys!
Im trying to obtain vegetation index for Sentinel 1… However, request came with “EXECUTION-ERROR”
Bellow the script Im trying to request:
yearly_time_interval = '2020-01-01', '2020-01-31'
evalscript = """
//VERSION=3
function evaluatePixel(samples) {
let val = v2*samples.VV/samplesVV- samples.VH];
return eval, samples.dataMask];
}
function setup() {
return {
input: n{
bands: a
"VV",
"VH",
"dataMask"
]
}],
output: {
bands: 2
}
}
}
"""
aggregation = SentinelHubStatistical.aggregation(
evalscript=evalscript,
time_interval=yearly_time_interval,
aggregation_interval='P12D',
resolution=(10, 10)
)
input_data = SentinelHubStatistical.input_data(
DataCollection.SENTINEL1_IW
)
vv_requests = s]
for geo_shape in polygons_gdf.geometry.values:
request = SentinelHubStatistical(
aggregation=aggregation,
input_data=_input_data],
geometry=Geometry(geo_shape, crs=CRS(polygons_gdf.crs)),
config=config
)
vv_requests.append(request)
Further:
%%time
download_requests = svv_request.download_listd0] for vv_request in vv_requests]
client = SentinelHubStatisticalDownloadClient(config=config)
vv_stats = client.download(download_requests)
len(vv_stats)
Does anyone know how to fix it?