Skip to content

Support parameterized band/apply math #1739

Description

@soxofaan

from https://forum.dataspace.copernicus.eu/t/udp-parameter-not-applied/5282:

user wants to do comparison operation with parameterized threshold

canopy_cover_threshold = Parameter.number(name="canopy_cover_threshold", default=30)
output = tree_cover_density.apply(
    lambda x: x.gte(canopy_cover_threshold)
)

but that does not seem to work
worse actually, it doesn't even fail/error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions