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

Vague error message in evaluate_process_from_url #289

Closed
EmileSonneveld opened this issue Jun 10, 2024 · 1 comment
Closed

Vague error message in evaluate_process_from_url #289

EmileSonneveld opened this issue Jun 10, 2024 · 1 comment
Assignees

Comments

@EmileSonneveld
Copy link
Contributor

EmileSonneveld commented Jun 10, 2024

Now the error message is
Invalid process graph specified.
A message like this would explain the issue better:
Invalid process graph specified. process_id='BIOPAR' does not match result from namespace query: 'BIOPAR_V2'

{
  "process_graph": {
    "BIOPAR1": {
      "process_id": "BIOPAR",
      "arguments": {
        "biopar_type": "FAPAR",
        "date": [
          "2020-06-27",
          "2020-07-27"
        ],
        "polygon": {
          "type": "Polygon",
          "coordinates": [
            [
              [
                5.179324150085449,
                51.2498689148547
              ],
              [
                5.178744792938232,
                51.24672597710759
              ],
              [
                5.185289382934569,
                51.24504696935156
              ],
              [
                5.18676996231079,
                51.245342479161295
              ],
              [
                5.187370777130127,
                51.24918393390799
              ],
              [
                5.179324150085449,
                51.2498689148547
              ]
            ]
          ]
        }
      },
      "namespace": "https://openeo.dataspace.copernicus.eu/openeo/1.2/processes/u:3e24e251-2e9a-438f-90a9-d4500e576574/BIOPAR_V2"
    },
    "saveresult1": {
      "process_id": "save_result",
      "arguments": {
        "data": {
          "from_node": "BIOPAR1"
        },
        "format": "GTiff",
        "options": {}
      },
      "result": true
    }
  }
}

Issue found by @Pratichhya

@EmileSonneveld
Copy link
Contributor Author

EmileSonneveld commented Jun 10, 2024

Will be fixed under Open-EO/openeo-api#515

@EmileSonneveld EmileSonneveld closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
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

Successfully merging a pull request may close this issue.

1 participant