Hi, when sending requests via Postman we get in the response header X-ProcessingUnits-Spent
.
Is it possible to get the same information when using StatisticalAPI with python?
Here is a snippet of my code:
sd = ‘2022-03-01’ # start date
ed = ‘2022-05-22’ # end date
sn2_ndvi_request = SentinelHubStatistical(
aggregation=SentinelHubStatistical.aggregation(
evalscript=sn2_ndvi_evalscript,
time_interval=(sd, ed),
aggregation_interval=“P1D”,
resolution=(0.0001, 0.0001)
),
input_data= SentinelHubStatistical.input_data(DataCollection.SENTINEL2_L2A)],
geometry=poly,
config=config,
)
Can I get X-ProcessingUnits-Spent
from that?