pyiem.exceptions module#

Custom Exceptions.

exception pyiem.exceptions.BadWebRequest[source]#

Bases: Exception

Raised when a bad web request is made.

exception pyiem.exceptions.CLIException[source]#

Bases: Exception

Custom Exception for CLI Parsing Issues

exception pyiem.exceptions.HWOException[source]#

Bases: Exception

Exception for HWO Parsing.

exception pyiem.exceptions.IncompleteWebRequest[source]#

Bases: Exception

Raised for a HTTP GET request without required params (422).

exception pyiem.exceptions.InvalidArguments[source]#

Bases: Exception

Provided method arguments were not valid (invalid units).

exception pyiem.exceptions.InvalidPolygon[source]#

Bases: Exception

Parsing of polygon raised a known error condition.

exception pyiem.exceptions.InvalidSHEFEncoding[source]#

Bases: Exception

Product is not encoded to SHEF standard specification.

exception pyiem.exceptions.InvalidSHEFValue[source]#

Bases: Exception

SHEF element value fails to be processed to a float.

exception pyiem.exceptions.MCDException[source]#

Bases: Exception

exception pyiem.exceptions.NHCException[source]#

Bases: Exception

exception pyiem.exceptions.NewDatabaseConnectionFailure[source]#

Bases: Exception

Exception for when a new database connection fails.

exception pyiem.exceptions.NoDataFound[source]#

Bases: Exception

Exception for when no data was found for request.

exception pyiem.exceptions.SAWException[source]#

Bases: Exception

Custom local exception

exception pyiem.exceptions.SIGMETException[source]#

Bases: Exception

Custom SIGMET Parsing Exception.

exception pyiem.exceptions.TextProductException[source]#

Bases: Exception

Exception for Text Parsing.

exception pyiem.exceptions.UGCParseException[source]#

Bases: Exception

Custom Exception this parser can raise

exception pyiem.exceptions.UnitsError[source]#

Bases: Exception

Exception for bad Units.

exception pyiem.exceptions.UnknownStationException[source]#

Bases: Exception

Exception for unknown station.