forked from Open-EO/openeo-processes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resample_cube_spatial.json
64 lines (64 loc) · 2.03 KB
/
resample_cube_spatial.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
{
"id": "resample_cube_spatial",
"summary": "Resample the spatial dimensions to a target data cube",
"description": "Resamples the spatial dimensions (x,y) from a source data cube to a target data cube and return the results as a new data cube.",
"categories": [
"cubes",
"aggregate & resample"
],
"parameters": [
{
"name": "data",
"description": "A data cube.",
"schema": {
"type": "object",
"subtype": "raster-cube"
}
},
{
"name": "target",
"description": "A data cube that describes the spatial target resolution.",
"schema": {
"type": "object",
"subtype": "raster-cube"
}
},
{
"name": "method",
"description": "Resampling method. Methods are inspired by GDAL, see [gdalwarp](https://www.gdal.org/gdalwarp.html) for more information.",
"schema": {
"type": "string",
"enum": [
"near",
"bilinear",
"cubic",
"cubicspline",
"lanczos",
"average",
"mode",
"max",
"min",
"med",
"q1",
"q3"
]
},
"default": "near",
"optional": true
}
],
"returns": {
"description": "A data cube with potentially lower spatial resolution and potentially lower cardinality, but the same number of dimensions as the original data cube.",
"schema": {
"type": "object",
"subtype": "raster-cube"
}
},
"links": [
{
"href": "https://open-eo.github.io/openeo-api/glossary/#aggregation-and-resampling",
"rel": "about",
"title": "Resampling explained in the openEO glossary"
}
]
}