Skip to content

Commit 0100f9a

Browse files
authored
apply_polygon: datacube instead of raster-cube #524 (#525)
1 parent 0390558 commit 0100f9a

File tree

2 files changed

+41
-4
lines changed

2 files changed

+41
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323
### Fixed
2424

2525
- Clarified for various mathematical functions the defined input and output ranges. Mention that `NaN` is returned outside of the defined input range where possible.
26+
- `apply_polygon`: Replaced outdated usage of `raster-cube` subtype with `datacube` and dimensions. [#524](https://github.com/Open-EO/openeo-processes/issues/524)
2627
- `aggregate_temporal` and `aggregate_temporal_period`: Clarified that the process throws a `DimensionNotAvailable` exception when no temporal dimension exists.
2728
- `aggregate_temporal_period`: Removed unused exception `DistinctDimensionLabelsRequired`
2829
- `aggregate_temporal_period`: Clarified that the definition of weeks follows ISO 8601

proposals/apply_polygon.json

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@
1212
"description": "A data cube.",
1313
"schema": {
1414
"type": "object",
15-
"subtype": "raster-cube"
15+
"subtype": "datacube",
16+
"dimensions": [
17+
{
18+
"type": "spatial",
19+
"axis": [
20+
"x",
21+
"y"
22+
]
23+
}
24+
]
1625
}
1726
},
1827
{
@@ -44,7 +53,16 @@
4453
"description": "A sub data cube of the original data cube. The sub data cubes provided cover the smallest possible grid-aligned extent of the corresponding polygon and all pixels outside of the polygon are replaced with the value given in `mask_value`.",
4554
"schema": {
4655
"type": "object",
47-
"subtype": "raster-cube"
56+
"subtype": "datacube",
57+
"dimensions": [
58+
{
59+
"type": "spatial",
60+
"axis": [
61+
"x",
62+
"y"
63+
]
64+
}
65+
]
4866
}
4967
},
5068
{
@@ -63,7 +81,16 @@
6381
"description": "A data cube.",
6482
"schema": {
6583
"type": "object",
66-
"subtype": "raster-cube"
84+
"subtype": "datacube",
85+
"dimensions": [
86+
{
87+
"type": "spatial",
88+
"axis": [
89+
"x",
90+
"y"
91+
]
92+
}
93+
]
6794
}
6895
}
6996
}
@@ -103,7 +130,16 @@
103130
"description": "A data cube with the newly computed values and the same dimensions. The dimension properties (name, type, labels, reference system and resolution) remain unchanged.",
104131
"schema": {
105132
"type": "object",
106-
"subtype": "raster-cube"
133+
"subtype": "datacube",
134+
"dimensions": [
135+
{
136+
"type": "spatial",
137+
"axis": [
138+
"x",
139+
"y"
140+
]
141+
}
142+
]
107143
}
108144
},
109145
"exceptions": {

0 commit comments

Comments
 (0)