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

Example process graphs? #30

Open
m-mohr opened this issue Sep 3, 2019 · 4 comments
Open

Example process graphs? #30

m-mohr opened this issue Sep 3, 2019 · 4 comments

Comments

@m-mohr
Copy link
Member

m-mohr commented Sep 3, 2019

Is there a set of example process graphs for demonstration purposes?

@neteler
Copy link
Member

neteler commented Sep 4, 2019

Attached to process graph examples, we may write more if needed.

process_graph_examples.zip

@m-mohr
Copy link
Member Author

m-mohr commented Sep 4, 2019

Thank you, @neteler!

Unfortunately, I observed some issues:

  1. They don't have a result node.
  2. They are wrapped into an object with key process_graph.

Also, it would be great if the processes would follow the specification a bit more closely so that tooling can handle workflows better:
3. get_data should better be load_collection with a parameter called id. Most of the clients assume that loading a collection is done with load_collection and workflows fail if the process is not available.
4. There's no process that saves the data (save_result) so it's not clear what format the data is stored in.

Fixing 1 and 2 by hand, I get the following graphs, which I can load into the Web Editor. Unfortunately, I can't execute them as the endpoints require authentication (seems related to #18).

{
  "get_data_1": {
    "process_id": "get_data",
    "arguments": {
      "data": "utm32n.openeo.raster.Sigma0_VH_db_20180111"
    }
  },
  "scale_1": {
    "process_id": "scale_minmax",
    "arguments": {
      "data": {
        "from_node": "get_data_1"
      },
      "max": 255,
      "min": 1
    },
    "result": true
  }
}
{
  "get_data_1": {
    "process_id": "get_data",
    "arguments": {
      "data": "utm32n.openeo.raster.Sigma0_VH_db_20180111"
    }
  },
  "scale_1": {
    "process_id": "scale_minmax",
    "arguments": {
      "data": {
        "from_node": "get_data_1"
      },
      "max": 255,
      "min": 1
    },
    "result": true
  }
}

@m-mohr
Copy link
Member Author

m-mohr commented Sep 10, 2019

I see that the processes load_collection and save_result are now available. Any example using those processes available?

@metzm
Copy link
Collaborator

metzm commented Dec 16, 2022

TODO: There are outdated example process graphs in https://open-eo.github.io/openeo-grassgis-driver/ which need to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants