Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- `slope`: New process [#556](https://github.com/Open-EO/openeo-processes/issues/556)
- `aspect`: New process [#557](https://github.com/Open-EO/openeo-processes/issues/557)

### Changed

### Fixed
Expand Down
27 changes: 27 additions & 0 deletions proposals/aspect.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"id": "aspect",
"summary": "The aspect of a terrain surface",
"description": "Compute the aspect (in radians, from due North) of elevation data.",
"categories": [
"cubes",
"math"
],
"experimental": true,
"parameters": [
{
"name": "parameters",
"description": "A data cube with n bands containing elevation data",
"schema": {
"type": "object",
"subtype": "datacube"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably define the required dimension types here (x,y,bands?), potentially also in the return value. See other processes for details.

}
}
],
"returns": {
"description": "A data cube with n bands named after the n bands in the input data cube, suffixed with ``'aspect'``. Each band contains the computed aspect values (in radians, from due North). In case the surface is flat, the NaN value is used (since there is no direction of the gradient).",
Comment thread
m-mohr marked this conversation as resolved.
Outdated
"schema": {
"type": "object",
"subtype": "datacube"
}
}
}
27 changes: 27 additions & 0 deletions proposals/slope.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"id": "slope",
"summary": "The slope of a terrain surface",
"description": "Compute the slope (in radians, relative to the horizontal plane) of elevation data.",
"categories": [
"cubes",
"math"
],
"experimental": true,
"parameters": [
{
"name": "parameters",
"description": "A data cube with n bands containing elevation data",
"schema": {
"type": "object",
"subtype": "datacube"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably define the required dimension types here (x,y,bands?), potentially also in the return value. See other processes for details.

}
}
],
"returns": {
"description": "A data cube with n bands named after the n bands in the input data cube, suffixed with ``'_slope'``. Each band contains the computed slope values (in radians, relative to the horizontal plane).",
Comment thread
m-mohr marked this conversation as resolved.
Outdated
"schema": {
"type": "object",
"subtype": "datacube"
}
}
}
6 changes: 6 additions & 0 deletions tests/aspect.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"id": "aspect",
"level": "L3",
"experimental": true,
"tests": []
}
6 changes: 6 additions & 0 deletions tests/slope.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"id": "slope",
"level": "L3",
"experimental": true,
"tests": []
}
Loading