forked from Open-EO/openeo-processes
-
Notifications
You must be signed in to change notification settings - Fork 4
/
array_contains_nodata.json
59 lines (59 loc) · 1.61 KB
/
array_contains_nodata.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
{
"id": "array_contains_nodata",
"summary": "Check for no-data values",
"description": "Check whether the array contains a no-data (`null`) value.",
"categories": [
"arrays"
],
"parameters": [
{
"name": "data",
"description": "List to find the value in.",
"schema": {
"type": "array",
"items": {
"description": "Any data type is allowed."
}
}
}
],
"returns": {
"description": "`true` if the list contains a no-data value, false` otherwise.",
"schema": {
"type": "boolean"
}
},
"process_graph": {
"apply": {
"process_id": "array_apply",
"arguments": {
"data": {
"from_parameter": "data"
},
"process": {
"process_graph": {
"is_null": {
"process_id": "is_nodata",
"arguments": {
"x": {
"from_parameter": "x"
}
},
"result": true
}
}
}
}
},
"find": {
"process_id": "array_contains",
"arguments": {
"data": {
"from_node": "apply"
},
"value": true
},
"result": true
}
}
}