xrspatial.slope
How xarray-spatial runs Slope: xrspatial.slope.
| Engine | xarray-spatial |
|---|---|
| Tool name | xrspatial.slope |
| Interface | python |
| Implements | Slope |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
agg | xr.DataArray | yes | Not stated | Not stated | Not stated |
name | Optional[str] | no | slope | Not stated | Not stated |
method | str | no | planar | Not stated | Not stated |
z_unit | str | no | meter | Not stated | Not stated |
boundary | str | no | nan | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | agg | Not stated |
units | Not stated | always degrees |
z_unit | Not stated | always crs-units. With the default method = 'planar', elevations must be in the same units as the cell size; z_unit applies only with method = 'geodesic'. |
Differences from the operation
- Takes an xarray DataArray with x and y coordinates; edge cells are NaN by default (boundary = 'nan').
Harvested by the python-packages harvester from engine version
0.10.20. Names can change when an engine is harvested again.