themisim.resolve_global_id

themisim.resolve_global_id(engine, site, datetime, frame)[source]

Map (site, datetime, frame) to the indexed vector’s global id.

Raises KeyError if the site/date/hour is not in the index and IndexError if frame is out of range for that hour, each with a message that lists what is available so the user can correct the query.

Parameters:
Return type:

int