SmartCane/python_app/chemba_single_images/2023-10-07/3a899f894dfc9421c0454963e781ee50/request.json
Martin Folkerts 78e6567182 wip
2023-10-10 17:02:35 +02:00

65 lines
2.6 KiB
JSON

{
"request": {
"headers": {
"accept": "image/tiff",
"content-type": "application/json"
},
"payload": {
"evalscript": "\n //VERSION=3\n\n function setup() {\n return {\n input: [{\n bands: [\"Blue\", \"Green\", \"Red\", \"NIR\", \"UDM\"]\n }],\n output: {\n bands: 5\n }\n };\n }\n\n function evaluatePixel(sample) {\n return [2.5 * sample.Blue / 10000, 2.5 * sample.Green / 10000, 2.5 * sample.Red / 10000, 2.5 * sample.NIR / 10000, sample.UDM];\n }\n",
"input": {
"bounds": {
"bbox": [
34.946,
-17.35,
34.9839,
-17.311
],
"properties": {
"crs": "http://www.opengis.net/def/crs/EPSG/0/4326"
}
},
"data": [
{
"dataFilter": {
"timeRange": {
"from": "2023-10-07T00:00:00Z",
"to": "2023-10-07T23:59:59Z"
}
},
"type": "byoc-c691479f-358c-46b1-b0f0-e12b70a9856c"
}
]
},
"output": {
"height": 1425,
"responses": [
{
"format": {
"type": "image/tiff"
},
"identifier": "default"
}
],
"width": 1358
}
},
"timestamp": "2023-10-10T11:45:28.996066",
"url": "https://services.sentinel-hub.com/api/v1/process"
},
"response": {
"elapsed": 1.55439,
"headers": {
"Connection": "keep-alive",
"Content-Type": "image/tiff",
"Date": "Tue, 10 Oct 2023 09:45:29 GMT",
"Transfer-Encoding": "chunked",
"access-control-allow-credentials": "true",
"access-control-allow-headers": "origin,content-type,accept,accept-crs,authorization,cache-control",
"access-control-allow-methods": "GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH",
"access-control-allow-origin": "*",
"access-control-max-age": "3600",
"x-processingunits-spent": "12.303352062622253"
},
"status_code": 200
}
}