semantique.exceptions.UnknownComponentError

semantique.exceptions.UnknownComponentError#

exception semantique.exceptions.UnknownComponentError[source]#

Raised when an unexisting dimension component is referenced.

This occurs when one wants to extract a specific component from a dimension that does not contain this component, for example when trying to extract the “year” component from the spatial dimension, or the “y” component from the temporal dimension.