Open EmileSonneveld opened 9 months ago
A better error message would already help. For example: "Only CRS that has a representing EPSG code can be used here. Consider using 'resample_spatial(...)' with a well known projection."
Maybe load_stac
avoids this issue? Dependant on: https://github.com/Open-EO/openeo-geopyspark-driver/issues/551
The error seems to happen here:
_assemble_result_metadata
so is just about assembling metadata. Perhaps we can even skip putting epsg in metadata if it can not be found. Looks like a quickfix might be possible.
From: Emile @.> Sent: Monday, November 13, 2023 12:13 PM To: Open-EO/openeo-geotrellis-extensions @.> Cc: Subscribed @.***> Subject: Re: [Open-EO/openeo-geotrellis-extensions] Batch job crashes when gathering metadata from CRS that has no equivalent EPSG code (Issue #224)
Maybe load_stac avoids this issue?
— Reply to this email directly, view it on GitHubhttps://github.com/Open-EO/openeo-geotrellis-extensions/issues/224#issuecomment-1807958115, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNJPSEVBTWKTSXAQH46SMDYEH6HLAVCNFSM6AAAAAA62UOXWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXHE2TQMJRGU. You are receiving this because you are subscribed to this thread.Message ID: @.***>
VITO Disclaimer: http://www.vito.be/e-maildisclaimer
Code that gives crash:
Fix:
Error:
job_id:
j-231031a8df86464d9bdacfe6cf0e69af