riogrande.io.exceptions ======================= .. py:module:: riogrande.io.exceptions .. autoapi-nested-parse:: Custom exceptions for the riogrande I/O layer. Exceptions defined here are raised when operations on :class:`~riogrande.io.models.Source` and :class:`~riogrande.io.models.Band` objects encounter invalid or ambiguous states, such as band selection failures, missing source files, or unrecognised file extensions. Exceptions ---------- .. autoapisummary:: riogrande.io.exceptions.BandSelectionAmbiguousError riogrande.io.exceptions.BandSelectionNoMatchError riogrande.io.exceptions.InvalidMaskSelectorError riogrande.io.exceptions.SourceNotSavedError riogrande.io.exceptions.UnknownExtensionError Module Contents --------------- .. py:exception:: BandSelectionAmbiguousError Bases: :py:obj:`Exception` Multiple bands match the provided tags .. py:exception:: BandSelectionNoMatchError Bases: :py:obj:`Exception` No band found with matching tags .. py:exception:: InvalidMaskSelectorError Bases: :py:obj:`Exception` A selector string was used that did not match to any mask reader. .. py:exception:: SourceNotSavedError Bases: :py:obj:`Exception` Source cannot be found at the specified location. Either the path is wrong or the related data is not (yet) saved to file. .. py:exception:: UnknownExtensionError Bases: :py:obj:`Exception` Handeling of file with the given extension unclear.