v0.2.5 (June 22, 2023)#
These are minor changes in v0.2.4 that shows fugs fixed, features and improvements.
API change
watex.utils.plot_roc_curves()parameter all is deprecated and is replaced by kind. kind argument by default is set toinonewhich groups all the model plots into one figure. It can beindividualorsingleto plot each model separately.Fix Fix AttributeError of
interp_coordspassed towatex.geology.DSBorehole.interp_coordsis removed fromwatex.geology.DSBoreholeand only available when usingwatex.geology.DSBoreholes.Fix
watex.site.Location.to_latlon_in()andwatex.site.Location.to_utm_in()henceforth accept a single float value for convertion operation.Major feature
watex.geology.drilling.DSDrillmanages the drilling datasets. The class extracts, read and writes the drlling data. The arrangement of the data follows the oasis montaj software drill data arrangement with peroperties such as collar, geology and geochemistry samples.Feature
watex.utils.get_azimuth()computes azimuth from the coordinate locations ( latitude, longitude) or using easting/northingFeature
watex.utils.smart_thickness_ranker()computes the layer thicknesses and rank strata accordingly.Feature
watex.utils.geotools.get_thick_from_range()computes the layer thickness using the depth range (top-bottom) passed as a litteral string. Its sibling iswatex.utils.geotools.get_thick_from_values()which computes thickness based only on thick -values.Feature
watex.utils.storeOrwritehdf5()polishes and stores data to hdf5. It offers an opportunity to write sanitized data to csv file.Feature Nanshang project dataset loaded. It is composed of engineering and hydrogeological drillings. For retrieving the engineering data, user must pass the argument
nsto the parameter key andb0for hydrogeological drillings. User can call the dataset usingwatex.datasets.load_nlogs()or passnlogsas an argument to the positional parameter tag ofwatex.datasets.fetch_data().Enhancement
watex.geology.DSBoreholehas new method calledwatex.geology.DSBorehole.set_strata()to randomly generated strata layers with their corresponding electrical properties.Enhancement
watex.utils.coreutils.read_data()accepts sanitize as parameter. It allows sanitization data using minimum cleaning tips like replace non-ASCII characters by'_'in each colum items. Then, if applicable it casts data values to numeric when a serie value is convertible and also drop full NaN columns and rows in the frame.Enhancement
watex.utils.plotutils.plot_text()henceforth returns Matplotlib.Axes and accepts additionals parameters like mcolor and lcolor for markers and line colors.Enhancement
watex.site.Location.to_utm_in()andwatex.site.Location.to_latlon_in()accepts data parameter expecting a pandas dataframe containing either the longitude/latitude or easting/northing coordinates.