forked from Open-EO/openeo-community-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflood_ndwi.json
130 lines (130 loc) · 4.77 KB
/
flood_ndwi.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"id": "flood_ndwi",
"summary": "Comparing pre and post flood NDWI",
"description": "Performed comparative study between pre and post image for Cologne during 2021 flood. A simple technique to subtract pre and post image is done to know the change in water content due to flood in that region.",
"links": [
{
"href": "https://openeo.vito.be/openeo/1.1/processes/u:ecce9fea04b8c9c76ac76b45b6ba00c20f211bda4856c14aa4475b8e8ed433cd%40egi.eu/flood_ndwi",
"rel": "canonical",
"title": "Public URL for user-defined process 'flood_ndwi'"
}
],
"categories": [
"vegetation indices"
],
"parameters": [
{
"description": "Left-closed temporal interval, i.e. an array with exactly two elements: The first element is the start of the temporal interval. The specified instance in time is included in the interval. The second element is the end of the temporal interval. The specified instance in time is excluded from the interval. The specified temporal strings follow RFC 3339. Also supports open intervals by setting one of the boundaries to null, but never both.",
"name": "Previous_date",
"schema": {
"subtype": "temporal-interval",
"type": "array"
}
},
{
"description": "Left-closed temporal interval, i.e. an array with exactly two elements: The first element is the start of the temporal interval. The specified instance in time is included in the interval. The second element is the end of the temporal interval. The specified instance in time is excluded from the interval. The specified temporal strings follow RFC 3339. Also supports open intervals by setting one of the boundaries to null, but never both.",
"name": "After_date",
"schema": {
"subtype": "temporal-interval",
"type": "array"
}
},
{
"description": "Spatial extent for area of interest to calculate NBR, specified as GEOJSON.",
"name": "aoi",
"schema": {
"subtype": "geojson",
"type": "object"
}
}
],
"returns": {
"description": "A merged datacube with reduced temporal dimensions.",
"schema": {
"type": "object",
"subtype": "raster-cube"
}
},
"process_graph": {
"NDWI1": {
"arguments": {
"date": {
"from_parameter": "After_date"
},
"polygon": {
"from_parameter": "aoi"
}
},
"namespace": "vito",
"process_id": "NDWI"
},
"NDWI2": {
"arguments": {
"date": {
"from_parameter": "Previous_date"
},
"polygon": {
"from_parameter": "aoi"
}
},
"namespace": "vito",
"process_id": "NDWI"
},
"apply1": {
"arguments": {
"data": {
"from_node": "NDWI2"
},
"process": {
"process_graph": {
"multiply1": {
"arguments": {
"x": {
"from_parameter": "x"
},
"y": -1
},
"process_id": "multiply",
"result": true
}
}
}
},
"process_id": "apply"
},
"mergecubes1": {
"arguments": {
"cube1": {
"from_node": "NDWI1"
},
"cube2": {
"from_node": "apply1"
}
},
"process_id": "merge_cubes"
},
"reducedimension1": {
"arguments": {
"data": {
"from_node": "mergecubes1"
},
"dimension": "t",
"reducer": {
"process_graph": {
"sum1": {
"arguments": {
"data": {
"from_parameter": "data"
}
},
"process_id": "sum",
"result": true
}
}
}
},
"process_id": "reduce_dimension",
"result": true
}
}
}