Skip to content

distance-to-cloud UDF doesn't work on Python 3.11 image #226

@VincentVerelst

Description

@VincentVerelst

Te distance-to-cloud UDF does not work on openeo's Python 3.11 image, as that image doesn't contain the skimage module: https://github.com/Open-EO/openeo-gfmap/blob/main/src/openeo_gfmap/preprocessing/udf_score.py#L7

Need to add a sys.path.append to the UDF to allow users to give external dependencies via the udf-dependency-archives job option.

Still, this would make it the user's responsibility to create and add these dependencies to the job options, otherwise the UDF will fail. Need to think about how we can make this user-friendly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions