forked from Open-EO/openeo-processes
-
Notifications
You must be signed in to change notification settings - Fork 4
/
is_nodata.json
52 lines (52 loc) · 1.4 KB
/
is_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
{
"id": "is_nodata",
"summary": "Value is a no-data value",
"description": "Checks whether the specified data is missing data, i.e. equals to `null` or any of the no-data values specified in the metadata.\n\nThe special numerical value `NaN` (not a number) as defined by the [IEEE Standard 754](https://ieeexplore.ieee.org/document/4610935) is only considered as no-data value if specified as no-data value in the metadata.",
"categories": [
"comparison"
],
"parameters": [
{
"name": "x",
"description": "The data to check.",
"schema": {
"description": "Any data type is allowed."
}
}
],
"returns": {
"description": "`true` if the data is a no-data value, otherwise `false`.",
"schema": {
"type": "boolean"
}
},
"examples": [
{
"arguments": {
"x": 1
},
"returns": false
},
{
"arguments": {
"x": "Test"
},
"returns": false
},
{
"arguments": {
"x": null
},
"returns": true
},
{
"arguments": {
"x": [
null,
null
]
},
"returns": false
}
]
}