List of watex exceptions for warning users.
- exception watex.exceptions.AquiferGroupError[source]#
Bases:
ExceptionRaises exception with everything that does not relate to the aquifer like a multidimensional array. Commonly Aquifer is a one-dimensional array composed of categorical values expected to be the layer/rock name where the pumping is performed. Note aquifer is composed of categorical data at last labels are encoded into a numerical values. If that is the case, values should an integer not any other types. Furthermore, it is better to not confused the permeanility coefficient ‘k’ with aquifer even the latter is tied to the former. In the hydrogeology modules, aquifer works apart as condirering a single column preferably located in the in a target dafarame. However, it does not a matter whether it is considered as a feature provided that the purpose fits exactly the objective of the users.
- exception watex.exceptions.ArgumentError[source]#
Bases:
ExceptionRaises an Exception when values passed to the callable is not the expected one. Is deprecated and should be replaced by ‘TypeError’ or ‘ValueError’ for the next release.
- exception watex.exceptions.ConfigError[source]#
Bases:
ExceptionRaises an Exception if configuration (file or not ) failed to be executed correctly.
- exception watex.exceptions.CoordinateError[source]#
Bases:
ExceptionRaises an Exception for mismatched coordinates or if coordinates failed to be recomputed properly.
- exception watex.exceptions.DCError[source]#
Bases:
ExceptionRaises exception when data passed to DC base class are not consistent. DCType expect D-type for Dataframe , F-type for file object or P-type of pathlike object.
- exception watex.exceptions.DatasetError[source]#
Bases:
ExceptionRaises exception when mutiple data are passed as list of arguments where shape , columns and sizee are compared. If one aforementionned details does not fit all the data. An error raises. Furthermore, an error also raises when some items in the data are not valid according to the prescipted details beforehand.
- exception watex.exceptions.DepthError[source]#
Bases:
ExceptionRaises exception with everything that does not support the depth line a multidimensional array. Commonly Depth is a one-dimensional array and its atttribute name when pandas daframe of series is given must contain at least the name ‘z’. If such name does not exist in the pandas dataframe or serie name, specify other name using the parameter ‘zname’ througthout the package. Be aware to not confuse the parameters ‘depth’ with ‘zname’ . While the former specifies the 1d array, the latter both are expected the name of the depth as a pandas series.
- exception watex.exceptions.DrillError[source]#
Bases:
ExceptionRaises exception when any component that composes the Drilling property or column name is missing in the given data.
- exception watex.exceptions.EDIError[source]#
Bases:
ExceptionRaises an Exception if the given SEG-Electrical Data Interchange data does not fit the appropriate EDI-format. The correct SEG-EDI file building can be found in Wight, D.E., Drive, B., 1988. and can be donwloaded at <https://www.mtnet.info/docs/seg_mt_emap_1987.pdf>
- exception watex.exceptions.EMError[source]#
Bases:
ExceptionRaises an Exception is EM method failed to run successfully or a wrong argument passed to parameters computation failed
- exception watex.exceptions.ERPError[source]#
Bases:
ExceptionRaises an Exception if data passed is not a valid Electrical Resistivity Profiling. Note that ‘station’ and ‘resistivity’ must figure out in the ERP data. Station is the position where the measurement is done. By convention is the center of MN and AB, the potential and current electrodes respectively.
- exception watex.exceptions.EstimatorError[source]#
Bases:
ExceptionRaises an Exception if the estimator or assessor passed is wrong.
- exception watex.exceptions.ExtractionError[source]#
Bases:
ExceptionRaises an Exception if value of extration in path-like object failed, or .json ,.yml or other files formats gives an expected result of data extraction.
- exception watex.exceptions.FeatureError[source]#
Bases:
ExceptionRaises an Exception if the features handling failed to be executed properly.
- exception watex.exceptions.FileHandlingError[source]#
Bases:
ExceptionRaises an Exception if failed to manipulate the files properly. Also, occurs if there is no permissions for user to open, read and write the files
- exception watex.exceptions.FrequencyError[source]#
Bases:
ExceptionRaises an Exception for wrong given frequencies. `watex`_ recomputes frequency when is needed and sorts frequency from highest to lowest.
- exception watex.exceptions.GISError[source]#
Bases:
ExceptionRaises an Exception if the GIS parameters failed to be calculated successfully.
- exception watex.exceptions.GeoArgumentError[source]#
Bases:
ExceptionRaises an Exception if the arguments passed for Geology modules are unappropriate.
- exception watex.exceptions.GeoDatabaseError[source]#
Bases:
ExceptionRaises an Exception if the database failed to respond. The request is aborted.
- exception watex.exceptions.GeoPropertyError[source]#
Bases:
ExceptionRaises an Exception if the Geological property objects are trying to be modified externally.
- exception watex.exceptions.HeaderError[source]#
Bases:
ExceptionRaises an Exception if the file/data header is missing, commonly the appropriate requested columns
- exception watex.exceptions.HintError[source]#
Bases:
ExceptionRaises an Exception if the hint proposed to shortcut the processing isn’t appropriate.
- exception watex.exceptions.LearningError[source]#
Bases:
ExceptionRaises an Exception if the learning Inspection failed during the training phase.
- exception watex.exceptions.ModelError[source]#
Bases:
ExceptionRaises an Exception when the requierements for building Geo/Model are are wrong not truly passed. Error also raises when Model construction is going to fail.
- exception watex.exceptions.NotFittedError[source]#
Bases:
ExceptionRaise an Exception if the ‘fit’ method is not called yet. Note most of `watex`_ classes implements ‘fit’ methods for attributes populating and parameter init computations. Even the plotting classes need also to be fitted.
- exception watex.exceptions.ParameterNumberError[source]#
Bases:
ExceptionRaises an Exception if the given parameters are not the parameters expected for a proper computation.
- exception watex.exceptions.PlotError[source]#
Bases:
ExceptionRaises an Exception if the plot cannot be run sucessffully.
- exception watex.exceptions.ProcessingError[source]#
Bases:
ExceptionRaises an Exception if the auto/data processing failed to be executed properly.
- exception watex.exceptions.ProfileError[source]#
Bases:
ExceptionRaises an Exception if the arguments passed to the Profile object are mismatched or wrong.
- exception watex.exceptions.ResistivityError[source]#
Bases:
ExceptionRaises an Exception if the resistivity array is missing in the dataset or the column name/index for restrieving the resistivity data is wrong.
- exception watex.exceptions.SQLError[source]#
Bases:
ExceptionRaises an Exception if the SQL request is unappropriate.
- exception watex.exceptions.SQLManagerError[source]#
Bases:
ExceptionRaises an Exception if the SQL request transfer failed to be executed properly.
- exception watex.exceptions.ScikitLearnImportError[source]#
Bases:
ExceptionRaises Exception if failed to import scikit-learn. Refer to
scikit_learn_docfor documentation. Commonly, can get scikit-learn at https://scikit-learn.org/ .
- exception watex.exceptions.SiteError[source]#
Bases:
ExceptionRaises exception to everything related to the Site, Location. For instance, inappropriate coordinates values.
- exception watex.exceptions.StationError[source]#
Bases:
ExceptionRaises an Exception if the station position or index is out of the number of sites collected during the survey. Moreover, this error occurs if the given station does not respect the station naming proposed througout the`watex`_ package or unable to find the station position in the dataset.
- exception watex.exceptions.StrataError[source]#
Bases:
ExceptionRaises an Exception if the value of stratum passes is wrong. Also, this error occurs if the ‘sname’ is missing in the Hydro-log dataset while it is mandatory to provide.’sname’ is the name of column that fit the strata.
- exception watex.exceptions.TipError[source]#
Bases:
ExceptionRaises an Exception if the tip proposed to shortcut the plot visualization isn’t appropriate
- exception watex.exceptions.TopModuleError[source]#
Bases:
ExceptionRaises an Exception if the top module failed to be installed. Note that, understanding by top module, the most dependency package that is used by `watex`_ for running successfully. For instance, `scikit_learn`_ is the top module for modeling and predition.
- exception watex.exceptions.VESError[source]#
Bases:
ExceptionRaises an Exception if data passed is not a valid Vertical Electrical Sounding. Note that ‘AB’ and ‘resistivity’ must figure out in the VES data. AB, the current electrodes position, is by convention AB/2