openworld_radio_twin.compiler#

Compile geographic inputs into the canonical reusable scene directory.

Functions

compile_cached_scene(*, latitude, longitude, ...)

Compile into the shared cache, or reuse the directory for identical geometry inputs.

compile_scene(*, latitude, longitude, ...[, ...])

Compile a portable scene and return its Sionna XML path.

compile_scene_sync(**kwargs)

Synchronous adapter for compile_scene(), including notebooks.

load_building_source(path)

Read the provider records persisted next to a compiled scene.

async openworld_radio_twin.compiler.compile_cached_scene(*, latitude, longitude, radius_m, cache_dir, buildings, terrain, material_profile, terrain_resolution_m, building_source='auto', settings=None, provider=None)[source]#

Compile into the shared cache, or reuse the directory for identical geometry inputs.

provider lets a running service reuse its own HTTP client and in-memory caches; the loader and CLI leave it unset and open a client for the compilation.

Return type:

Path

async openworld_radio_twin.compiler.compile_scene(*, latitude, longitude, radius_m, output, buildings='auto', building_source='auto', terrain='elevation', material_profile='itu', terrain_resolution_m=5.0, receiver_height_m=1.5, receiver_cell_size=(10.0, 10.0), voxel_pitch_m=3.0, if_exists='reuse', settings=None)[source]#

Compile a portable scene and return its Sionna XML path.

Return type:

Path

openworld_radio_twin.compiler.compile_scene_sync(**kwargs)[source]#

Synchronous adapter for compile_scene(), including notebooks.

Return type:

Path

openworld_radio_twin.compiler.load_building_source(path)[source]#

Read the provider records persisted next to a compiled scene.

Return type:

BuildingQueryResult