SentinelHubStatistical.:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
send: b’POST /api/v1/statistics HTTP/1.1\r\nHost: services.sentinel-hub.com\r\nUser-Agent: python-requests/2.25.1\r\nAccept-Encoding: gzip, deflate\r\naccept: application/json\r\nConnection: keep-alive\r\nAuthorization: Bearer eyJraWQiOiJzaCIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0MTMwYWE3OS02Y2Q2LTQ5NjctOTE4Ny1mMTVkMGY1ZDc2ZDUiLCJhdWQiOiI5M2M0NDNiMC1iNjBkLTRiYTMtYjhlMi1mMDViOWQ1YzQ3YWMiLCJqdGkiOiJiM2JkYjAzMi01MWM5LTQxOTEtYWY5Mi0wOTZiMDNiODEyNmYiLCJleHAiOjE2MjgxMDE4MTMsIm5hbWUiOiIgIiwiZW1haWwiOiJtYXJzemFsZWtAd3p3LnR1bS5kZSIsImdpdmVuX25hbWUiOiIiLCJmYW1pbHlfbmFtZSI6IiIsInNpZCI6ImY1NjBlNjM2LWE1MzAtNDgyZi1hMWE1LWFmMTJhOTg1MmQxNiIsIm9yZyI6IjNkMzEzOTdmLTc3MGEtNGY5OC05MzU4LTg0ZTkxODQ5MTc0NSIsImRpZCI6MSwiYWlkIjoiYWI5NzQwNTUtYjViZi00YTM5LWIwZmMtODZhNDJhNDJiZTVhIiwiZCI6eyIxIjp7InJhIjp7InJhZyI6MX0sInQiOjEyMDAwfX19.psfB0mZZ1AT7rcmeO1YWf4UqAy551KWTE2V4keSa1WwtD-RYQq1xlcYHCaxCuj1dJDfIa3THdRCONFQq8zVkuI1thzIxClmLSHHgbPkfoUkny9stWdHz1X_1PDanTciMIG0KKXUPCna10L4Zwcy3xwuZkU8jw3YETAlYD5rxUtTNu4RDpVjwgtozoY9kL0faRhCybXoBHQqooBLLEeTE_eMt8_6Fll8G6CyscWumJLYCdYCtdnQ_iiZqiRQxEjpYZYDEwWlT1qIMNMJimc8F4zZff38Qusogg0f-gKejk2r2b09GaH5zDvrLnuOfzMx-XIVDP1XOXJZlrHaYlhBZ2g\r\ncontent-type: application/json\r\nContent-Length: 1960\r\n\r\n’
send: b’{“input”: {“bounds”: {“properties”: {“crs”: “http://www.opengis.net/def/crs/EPSG/0/4326”}, “geometry”: {“crs”: {“type”: “name”, “properties”: {“name”: “urn:ogc:def:crs:EPSG::4326”}}, “type”: “Polygon”, “coordinates”: [[[11.64184785604579, 48.39218695695232], [11.64177309600206, 48.39223816388215], [11.64162112423547, 48.39317133965693], [11.64153349151354, 48.39370983478911], [11.6439369994422, 48.39370219203855], [11.6440564025146, 48.39294139749138], [11.64420179710519, 48.39201548241762], [11.64184785604579, 48.39218695695232]]]}}, “data”: [{“type”: “sentinel-2-l2a”, “dataFilter”: {“maxCloudCoverage”: 100}}]}, “aggregation”: {“evalscript”: “\n//VERSION=3\n\nfunction setup() {\n return {\n input: [{\n bands: [\“B01\”, \“B02\”, \“B03\”, \“B04\”, \“B05\”, \“B06\”, \“B07\”, \“B08\”, \“B8A\”, \“B09\”, \“B11\”, \“B12\”, \“CLM\”, \“CLP\”, \“dataMask\”],\n units: \“REFLECTANCE\”\n }],\n output: [\n {\n id: \“bands\”,\n bands: [\“B01\”, \“B02\”, \“B03\”, \“B04\”, \“B05\”, \“B06\”, \“B07\”, \“B08\”, \“B8A\”, \“B09\”, \“B11\”, \“B12\”,\“NDVI\”],\n sampleType: \“FLOAT32\”\n },\n {\n id: \“dataMask\”,\n bands: 1\n }]\n }\n}\n\nfunction evaluatePixel(samples) {\n // Normalised Difference Vegetation Index and variation\n let NDVI = index(samples.B08, samples.B04);\n\n // cloud probability normalized to interval [0, 1]\n let CLP = samples.CLP / 255.0;\n\n return {\n bands: [samples.B01, samples.B02, samples.B03, samples.B04, samples.B05, samples.B06,\n samples.B07, samples.B08, samples.B8A, samples.B09, samples.B11, samples.B12, NDVI],\n dataMask: [samples.dataMask]\n };\n}\n\n”, “timeRange”: {“from”: “2018-01-01T00:00:00Z”, “to”: “2018-12-30T23:59:59Z”}, “aggregationInterval”: {“of”: “P1D”}, “resx”: 10, “resy”: 10}, “calculations”: {“ndvi”: {“histograms”: {“default”: {“nBins”: 20, “lowEdge”: -1.0, “highEdge”: 1.0}}}}}’
DEBUG:urllib3.connectionpool: “POST /api/v1/statistics HTTP/1.1” 200 None
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-4_0: Successful download from
reply: ‘HTTP/1.1 200 OK\r\n’
header: Date: Wed, 04 Aug 2021 17:42:23 GMT
header: Content-Type: application/json;charset=utf-8
header: Transfer-Encoding: chunked
header: Connection: keep-alive
header: x-ratelimit-remaining: 299.0
header: retry-after: 0
header: x-processingunits-spent: 13.159999551773055
header: x-processingunits-remaining: 296.84000044822693
header: x-processingunits-retry-after: 0
header: access-control-allow-origin: *
header: access-control-allow-headers: origin, content-type, accept, accept-crs, authorization, sh-request-id, cache-control
header: access-control-allow-credentials: true
header: access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH
header: access-control-max-age: 3600