forked from Open-EO/openeo-processes
-
Notifications
You must be signed in to change notification settings - Fork 4
/
rename-enumerated-labels.json
51 lines (51 loc) · 1.69 KB
/
rename-enumerated-labels.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
{
"summary": "Rename enumerated labels",
"description": "The process replaces the temporal dimension with a new dimension `min_max` with enumerated labels. The first label refers to the minimum values, the second label refers to the maximum values. Afterwards, the dimension labels are renamed to `min` and `max` respectively.",
"process_graph": {
"loadco1": {
"process_id": "load_collection",
"arguments": {
"id": "S2-RGB",
"spatial_extent": null,
"temporal_extent": null
}
},
"apply1": {
"process_id": "apply_dimension",
"arguments": {
"data": {
"from_node": "loadco1"
},
"process": {
"process_graph": {
"extrem1": {
"process_id": "extrema",
"arguments": {
"data": {
"from_parameter": "data"
}
},
"result": true
}
}
},
"dimension": "t",
"target_dimension": "min_max"
}
},
"rename1": {
"process_id": "rename_labels",
"arguments": {
"data": {
"from_node": "apply1"
},
"dimension": "bands",
"target": [
"min",
"max"
]
},
"result": true
}
}
}