Skip to content

Commit

Permalink
array_interpolate_linear: Return value was incorrectly specified as…
Browse files Browse the repository at this point in the history
… `number` or `null`. It must return an array instead. #333
  • Loading branch information
m-mohr committed Mar 8, 2022
1 parent 26ab5b9 commit a4704b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `aggregate_spatial`: Clarified that vector properties are preserved for vector data cubes and all GeoJSON Features. [#270](https://github.com/Open-EO/openeo-processes/issues/270)
- `apply_neighborhood`: Parameter `overlap` was optional but had no default value and no schena for the default value defined.
- `array_interpolate_linear`: Return value was incorrectly specified as `number` or `null`. It must return an array instead. [#333](https://github.com/Open-EO/openeo-processes/issues/333)
- `rename_labels`: Clarified that the `LabelsNotEnumerated` exception is thrown if `source` is empty instead of if `target` is empty. [#321](https://github.com/Open-EO/openeo-processes/issues/321)
- `round`: Clarify that the rounding for ties applies not only for integers. [#326](https://github.com/Open-EO/openeo-processes/issues/326)

Expand Down
11 changes: 7 additions & 4 deletions proposals/array_interpolate_linear.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@
"returns": {
"description": "An array with no-data values being replaced with interpolated values. If not at least 2 numerical values are available in the array, the array stays the same.",
"schema": {
"type": [
"number",
"null"
]
"type": "array",
"items": {
"type": [
"number",
"null"
]
}
}
},
"examples": [
Expand Down

0 comments on commit a4704b2

Please sign in to comment.