Open-EO / openeo-sentinelhub-python-driver

Apache License 2.0
3 stars 1 forks source link

Improve cost estimation/calculation if batch job was cancelled/failed #29

Open zansinergise opened 1 year ago

zansinergise commented 1 year ago

We should investigate how much costs were actually incurred if a batch job was cancelled or it failed during processing, since the costs/usage would probably be then lower than what we estimated before starting the job.

A bit more context: https://git.sinergise.com/team-6/openeo-sentinelhub-python-driver/-/merge_requests/318#note_583133

zcernigoj commented 1 year ago

Cost of a failed tile inside a SH batch job is 0, for Sentinel Hub (platform itself).

Consequently

Can't find it in https://docs.sentinel-hub.com/api/latest/api/batch/ But can be checked for failed and partial SH batch jobs in SH dashboard for app_admin_openeo account.


On a separate note: we should determine, what the fixed (same for all jobs - failing or not) and variable (different for successful and failing jobs) costs are on AWS (lambda+dynamodb+s3) for the driver