AspectProcessor
Bases: IDMixin
Tiles processor that computes the aspect from a channel
Experimental
AspectProcessor is experimental since 1.3.0 and may change without notice.
Notes
- Requires a raster channel
Implements the TilesProcessor protocol.
| PARAMETER | DESCRIPTION |
|---|---|
channel_name
|
Channel name
TYPE:
|
new_channel_name
|
New channel name
TYPE:
|
max_num_threads
|
Maximum number of threads
TYPE:
|
id
property
| RETURNS | DESCRIPTION |
|---|---|
uuid.UUID
|
ID |
from_config
classmethod
Creates an aspect processor from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
AspectProcessor
|
Aspect processor |
AspectProcessorConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of AspectProcessor
Create the configuration from a config file
- Use null instead of None
Usage
You can create the configuration from a config file.
package: 'aviary'
name: 'AspectProcessor'
config:
channel_name: 'dem'
new_channel_name: 'aspect'
max_num_threads: null
| ATTRIBUTE | DESCRIPTION |
|---|---|
channel_name |
Channel name - defaults to 'dem'
TYPE:
|
new_channel_name |
New channel name - defaults to 'aspect'
TYPE:
|
max_num_threads |
Maximum number of threads - defaults to None
TYPE:
|