Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calrissian has OOM after _cwl_insar #1053

Open
EmileSonneveld opened this issue Feb 17, 2025 · 0 comments
Open

Calrissian has OOM after _cwl_insar #1053

EmileSonneveld opened this issue Feb 17, 2025 · 0 comments

Comments

@EmileSonneveld
Copy link
Contributor

EmileSonneveld commented Feb 17, 2025

Running this OpenEO job errors just at the end of the CWL

import openeo
import openeo.processes
import openeo.internal

url = "https://openeo-staging.dataspace.copernicus.eu/"
connection = openeo.connect(url).authenticate_oidc()

datacube = openeo.rest.datacube.DataCube(
    openeo.rest.datacube.PGNode(
        "_cwl_insar",
        arguments={
            "spatial_extent": {
                "west": 10.751,
                "south": 46.741,
                "east": 10.759,
                "north": 46.749
            },
            "temporal_extent": [
                "2024-08-14",
                "2024-08-26"
            ]
        },
    ),
    connection=connection,
)

datacube.download("cwl_result.json")

When running locally, it shows that a lot of memory gets used:
Image

Error on https://openeo-staging.dataspace.copernicus.eu/

  File "/opt/openeo/lib/python3.8/site-packages/openeogeotrellis/integrations/calrissian.py", line 37, in read
    s3_file_object = s3_client().get_object(Bucket=self.s3_bucket, Key=self.s3_key)
  File "/opt/openeo/lib/python3.8/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/opt/openeo/lib/python3.8/site-packages/botocore/client.py", line 676, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.NoSuchKey: An error occurred (NoSuchKey) when calling the GetObject operation: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant