zcollection.meta.Dataset.search_same_dimensions_as#

Dataset.search_same_dimensions_as(variable)[source]#

Searches for a variable in this dataset that has the same dimensions as the given variable.

Parameters:

variable (Variable) – The variable used for searching.

Returns:

The variable that has the same dimensions as the supplied variable.

Raises:
  • ValueError – If no variable with the same dimensions as the given

  • variable is found.

Return type:

Variable