openworld_radio_twin.providers.base#

Classes

AntennaQueryResult(antennas, provider[, ...])

Antenna records of one source; attribution, license and license_url travel with the data.

BuildingQueryResult(buildings, provider[, ...])

Building records of one source; license, license_url and attribution are filled from the source that answered by MapDataProvider.buildings.

Exceptions

AntennaProviderError

An antenna source could not return a valid query result.

BuildingProviderError

A remote building provider could not return a valid query result.

exception openworld_radio_twin.providers.base.BuildingProviderError[source]#

Bases: RuntimeError

A remote building provider could not return a valid query result.

exception openworld_radio_twin.providers.base.AntennaProviderError[source]#

Bases: RuntimeError

An antenna source could not return a valid query result.

class openworld_radio_twin.providers.base.BuildingQueryResult(buildings, provider, release=None, warnings=<factory>, boundary_excluded_count=0, source_selection=<factory>, license='', license_url='', attribution='', source_datasets=<factory>)[source]#

Bases: object

Building records of one source; license, license_url and attribution are filled from the source that answered by MapDataProvider.buildings.

source_datasets lists the upstream datasets that the fetched records name, each with the licence as given and the number of records naming it; it is empty for sources that name none.

buildings: list[BuildingFeature]#
provider: str#
release: str | None = None#
warnings: list[str]#
boundary_excluded_count: int = 0#
source_selection: dict[str, object]#
license: str = ''#
license_url: str = ''#
attribution: str = ''#
source_datasets: list[dict[str, object]]#
property source_count: int#
property source_provenance: dict[str, str]#

Flat source identity for HTTP and per-radio-map provenance records.

class openworld_radio_twin.providers.base.AntennaQueryResult(antennas, provider, release=None, warnings=<factory>, boundary_excluded_count=0, source_selection=<factory>, attribution='', license='', license_url='', channels=<factory>, channel=None)[source]#

Bases: object

Antenna records of one source; attribution, license and license_url travel with the data.

channels lists the downlink channels the antennas of the scene or area register, before any selection; channel is the selected one, whose centre_hz and bandwidth_hz are the values of Sionna’s scene.frequency and scene.bandwidth.

antennas: list[AntennaFeature]#
provider: str#
release: str | None = None#
warnings: list[str]#
boundary_excluded_count: int = 0#
source_selection: dict[str, object]#
attribution: str = ''#
license: str = ''#
license_url: str = ''#
channels: list[Channel]#
channel: ChannelRange | None = None#
property source_provenance: dict[str, str]#

Flat source identity for HTTP and per-radio-map provenance records.