windkit.Workspace.get_ids#

Workspace.get_ids(object_description)[source]#

IDs of the objects of a kind.

Parameters:

object_description (str) – Object description, as in the catalogue, e.g. “Met. station”, “Reference site” or “Turbine site group”.

Returns:

IDs of the objects of that kind, in workspace order.

Return type:

list of int

Raises:

ValueError – If the workspace holds no object of that description.