cea package

exception cea.ConfigError[source]

Bases: Exception

Raised when the configuration of a tool contains some invalid values.

rc = 100
exception cea.CustomDatabaseNotFound[source]

Bases: Exception

Raised when the InputLocator can’t find a user-provided database (region==’custom’)

rc = 101
exception cea.InvalidOccupancyNameException[source]

Bases: Exception

Raised when the occupancy.dbf has an invalid / unknown occupancy column

rc = 104
exception cea.MissingInputDataException[source]

Bases: Exception

Raised when a script can’t run because some information is missing

rc = 103
exception cea.ScriptNotFoundException[source]

Bases: Exception

Raised when an invalid script name is used.

rc = 102
cea.suppress_3rd_party_debug_loggers()[source]

set logging level to WARN for fiona and shapely and others

Subpackages

Submodules

cea.api module

cea.config module

cea.constants module

This file contains the constants used in many folders in CEA. IF few constants are only used in a subfolder, it is highly recommended to keep those constants in a separate file in the subfolder. This is to make sure we declare the constants closest to the point of usage.

cea.glossary module

cea.inputlocator module

cea.plugin module

cea.schemas module

cea.scripts module

cea.worker module