Exceptions#

exception ctdfjorder.exceptions.exceptions.CTDError(message, filename=None)[source]#

Exception raised for CTD related errors.

Parameters:
  • filename (str, default None) – Input dataset which caused the error.

  • message (str) – Explanation of the error.

exception ctdfjorder.exceptions.exceptions.Calculation(message)[source]#
exception ctdfjorder.exceptions.exceptions.Critical(message)[source]#

Exception raised for CTDFjorder critical errors.

Parameters:

message (str) – Explanation of the error.

exception ctdfjorder.exceptions.exceptions.NativeLocation(message)[source]#
ctdfjorder.exceptions.exceptions.raise_warning_calculatuion(message, filename=None)[source]#

CTD calculation warning function.

Parameters:
  • filename (str, default None) – Input dataset which caused the error.

  • message (str) – Explanation of the error.

ctdfjorder.exceptions.exceptions.raise_warning_native_location(message, filename=None)[source]#

CTD location warning function.

Parameters:
  • filename (str, default None) – Input dataset which caused the error.

  • message (str) – Explanation of the error.