get_spatial_from_run#

nominal.experimental.spatial.get_spatial_from_run(run, ref_name)#

Retrieve a spatial from a run by its ref name.

Parameters:
  • run (Run)

    Run to resolve the reference on.

  • ref_name (str)

    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.

Return type:

Spatial