-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Parsing a process graph containing a merge_cubes process with an overlap resolver doesn't work properly, or at least I can't understand why it is giving the current output. For example, parsing the following process graph, for the subtract process (overlap resolver of merge_cubes):
{'process_id': 'subtract', 'arguments': {'x': [{'from_node': '3_2'}, {'from_node': '4_4'}], 'y': [{'from_node': '3_2'}, {'from_node': '4_4'}]}, 'result': True}
which is confusing, since I can't understand which parameter is x and which is y. If I revert the parameter in the code:
"process_id": "subtract",
"arguments": {
"x": {
"from_parameter": "y"
},
"y": {
"from_parameter": "x"
}
},
I get the same output.
Could you please check this?
{
"process_graph": {
"1": {
"process_id": "load_collection",
"arguments": {
"id": "WETSNOW2",
"spatial_extent": {
"east": 11.416511535644531,
"south": 46.406617041056165,
"north": 46.550361051816196,
"west": 11.257896423339844
},
"temporal_extent": [
"2015-11-06T00:00:00.000Z",
"2016-09-25T00:00:00.000Z"
]
}
},
"2": {
"process_id": "filter_bands",
"arguments": {
"data": {
"from_node": "1"
},
"bands": [
"VH"
],
"common_names": [],
"wavelengths": []
}
},
"3": {
"process_id": "reduce_dimension",
"arguments": {
"data": {
"from_node": "2"
},
"dimension": "t",
"reducer": {
"process_graph": {
"max1": {
"process_id": "max",
"arguments": {
"data": {
"from_parameter": "data"
}
},
"result": true
}
},
"parameters": [
{
"name": "data",
"description": "",
"schema": {}
}
]
}
}
},
"4": {
"process_id": "filter_bands",
"arguments": {
"data": {
"from_node": "1"
},
"bands": [
"VH"
],
"common_names": [],
"wavelengths": []
}
},
"6": {
"process_id": "save_result",
"arguments": {
"data": {
"from_node": "7"
},
"format": "NETCDF",
"options": {}
},
"result": true
},
"7": {
"process_id": "merge_cubes",
"arguments": {
"cube1": {
"from_node": "3"
},
"cube2": {
"from_node": "4"
},
"overlap_resolver": {
"process_graph": {
"1": {
"process_id": "subtract",
"arguments": {
"x": {
"from_parameter": "x"
},
"y": {
"from_parameter": "y"
}
},
"result": true
}
}
}
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels