-
Notifications
You must be signed in to change notification settings - Fork 27
chore: add aspect and slope definitions #569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 6 commits
5f40d85
9c0c64e
a173b35
ea9a68e
63b9610
fa41dc5
a1c3f6c
353b930
c435448
61c8ffe
b08dbde
d196ef8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,3 +52,5 @@ favor | |
| Undeploy | ||
| queryable | ||
| Queryables | ||
| _aspect | ||
| _slope | ||
| 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" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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).", | ||
| "schema": { | ||
| "type": "object", | ||
| "subtype": "datacube" | ||
| } | ||
| } | ||
| } | ||
| 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" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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).", | ||
| "schema": { | ||
| "type": "object", | ||
| "subtype": "datacube" | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "id": "aspect", | ||
| "level": "L2", | ||
|
dsamaey marked this conversation as resolved.
Outdated
|
||
| "experimental": true, | ||
| "tests": [] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "id": "slope", | ||
| "level": "L2", | ||
| "experimental": true, | ||
| "tests": [] | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.