semantique.exceptions.MissingDimensionError

semantique.exceptions.MissingDimensionError#

exception semantique.exceptions.MissingDimensionError[source]#

Raised when an array does not contain a required dimension.

This occurs in functions that require one or more specific dimensions to be present in an array. This includes grouping with the groupby verb, which requires the dimension of the grouper to be present in the input array; retrieving data from the EO data cube, which often requires that at least a spatial dimension is present; and concatenating over an existing dimension, which requires this dimension to exist in all input arrays.