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

Basic ADO process graphs not working #76

Open
clausmichele opened this issue Oct 24, 2022 · 0 comments
Open

Basic ADO process graphs not working #76

clausmichele opened this issue Oct 24, 2022 · 0 comments
Assignees
Labels
RASDAMAN Issue related to RASDAMAN as a data and processing provider

Comments

@clausmichele
Copy link
Member

I was going through the notebook I prepared last year for ADO and I encountered a simple example I'm not able to run with Rasdaman/WCPS.

I would need to load the CORINE land cover data and mask out urban areas.

The process graph could be the following. We could have also different ways of doing it, but I couldn't find one working.

{
  "process_graph": {
    "loadcollection1": {
      "process_id": "load_collection",
      "arguments": {
        "id": "ADO_CORINE_100m_3035",
        "spatial_extent": {
          "west": 11.222878,
          "east": 11.45256,
          "south": 46.45958,
          "north": 46.532611
        },
        "temporal_extent": [
          "2017-01-01T00:00:00Z",
          "2019-12-31T00:00:00Z"
        ],
        "bands": [],
        "properties": {}
      }
    },
    "apply1": {
      "process_id": "apply",
      "arguments": {
        "data": {
          "from_node": "loadcollection1"
        },
        "process": {
          "process_graph": {
            "gte1": {
              "process_id": "gte",
              "arguments": {
                "x": {
                  "from_parameter": "x"
                },
                "y": 200
              },
              "result": true
            }
          }
        }
      }
    },
    "save1": {
      "process_id": "save_result",
      "arguments": {
        "data": {
          "from_node": "mask2"
        },
        "format": "NETCDF"
      },
      "result": true
    },
    "mask2": {
      "process_id": "mask",
      "arguments": {
        "mask": {
          "from_node": "apply1"
        },
        "data": {
          "from_node": "loadcollection1"
        }
      }
    }
  },
  "parameters": []
}
@clausmichele clausmichele added the RASDAMAN Issue related to RASDAMAN as a data and processing provider label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RASDAMAN Issue related to RASDAMAN as a data and processing provider
Projects
None yet
Development

No branches or pull requests

2 participants