get_spatial_from_run#

nominal.experimental.spatial.get_spatial_from_run(run: Run, ref_name: str) → Spatial#

Retrieve a spatial from a run by its ref name.

Parameters:
  • run – Run to resolve the reference on.

  • ref_name – Name of the run datasource reference to resolve.

Returns:

The spatial associated with the ref name.

Raises:

NominalNotFoundError – If no readable spatial has this ref name.