StubFetcher
Bases: IDMixin
Tile fetcher for tiles with no channels
Experimental
StubFetcher is experimental since 1.4.0 and may change without notice.
Implements the TileFetcher protocol.
| PARAMETER | DESCRIPTION |
|---|---|
tile_size
|
Tile size in meters
TYPE:
|
delay
|
Delay in seconds
TYPE:
|
jitter
|
Jitter in seconds
TYPE:
|
id
property
| RETURNS | DESCRIPTION |
|---|---|
uuid.UUID
|
ID |
from_config
classmethod
Creates a stub fetcher from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
StubFetcher
|
Stub fetcher |
__call__
Fetches a tile with no channels.
| PARAMETER | DESCRIPTION |
|---|---|
coordinates
|
Coordinates (x_min, y_min) of the tile in meters
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Tile
|
Tile |
StubFetcherConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of StubFetcher
Usage
You can create the configuration from a config file.
package: 'aviary'
name: 'StubFetcher'
config:
tile_size: 128
delay: 0.
jitter: 0.
| ATTRIBUTE | DESCRIPTION |
|---|---|
tile_size |
Tile size in meters
TYPE:
|
delay |
Delay in seconds - defaults to 0.
TYPE:
|
jitter |
Jitter in seconds - defaults to 0.
TYPE:
|