Skip to content

Support parametrization of properties in UDP #327

Closed
Open-EO/openeo-geopyspark-driver
#1024
@VincentVerelst

Description

@VincentVerelst

The process graph below is part of a UDP with three parameters: spatial_extent, temporal_extent and orbit_state. The latter is a string that can either be "DESCENDING" or "ASCENDING".

"loadcollection1": {
      "process_id": "load_collection",
      "arguments": {
        "id": "SENTINEL1_GRD",
        "properties": {
          "sat:orbit_state": {
            "process_graph": {
              "eq1": {
                "process_id": "eq",
                "arguments": {
                  "x": {
                    "from_parameter": "value"
                  },
                  "y": {
                    "from_parameter": "orbit_state"
                  }
                },
                "result": true
              }
            }
          }
        },
        "spatial_extent": {
          "from_parameter": "spatial_extent"
        },
        "temporal_extent": {
          "from_parameter": "temporal_extent"
        }
      },
      "result": true
    }

Running this UDP results in the following error:
OpenEoApiError: [400] PropertyConditionInvalid: Expected parameter 'value' but got 'orbit_state'
job id: cdse-j-241114ee6489428aad7351dd62b881c3

It seems the parametrization of properties, like orbit_state is not yet supported in the backend. Hence the request for its support here.

Metadata

Metadata

Assignees

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