Skip to content

earthlib.errors

Errors and warnings

EndmemberError

Bases: KeyError

Raised when a function calls for an invalid land cover type

Source code in earthlib/errors.py
10
11
12
13
class EndmemberError(KeyError):
    """Raised when a function calls for an invalid land cover type"""

    pass

SensorError

Bases: KeyError

Raised when a function is not supported for a particular sensor

Source code in earthlib/errors.py
4
5
6
7
class SensorError(KeyError):
    """Raised when a function is not supported for a particular sensor"""

    pass