geolib_plus package¶
Subpackages¶
Submodules¶
geolib_plus.cpt_base_model module¶
-
class
geolib_plus.cpt_base_model.AbstractCPT(*, penetration_length: Iterable = None, depth: Iterable = None, coordinates: List = None, local_reference_level: float = None, depth_to_reference: Iterable = None, tip: Iterable = None, friction: Iterable = None, friction_nbr: Iterable = None, a: float = None, name: str = None, rho: Iterable = None, total_stress: Iterable = None, effective_stress: Iterable = None, pwp: Iterable = None, qt: Iterable = None, Qtn: Iterable = None, Qtncs: Iterable = None, Fr: Iterable = None, IC: Iterable = None, n: Iterable = None, vs: Iterable = None, G0: Iterable = None, E0: Iterable = None, permeability: Iterable = None, poisson: Iterable = None, damping: Iterable = None, relative_density: Iterable = None, psi: Iterable = None, pore_pressure_u1: Iterable = None, pore_pressure_u2: Iterable = None, pore_pressure_u3: Iterable = None, water: Iterable = None, lithology: Iterable = None, litho_points: Iterable = None, lithology_merged: Iterable = None, depth_merged: Iterable = None, index_merged: Iterable = None, vertical_datum: str = None, local_reference: str = None, inclination_x: Iterable = None, inclination_y: Iterable = None, inclination_ns: Iterable = None, inclination_ew: Iterable = None, inclination_resultant: Iterable = None, time: Iterable = None, net_tip: Iterable = None, pore_ratio: Iterable = None, tip_nbr: Iterable = None, unit_weight_measured: Iterable = None, pwp_ini: Iterable = None, total_pressure_measured: Iterable = None, effective_pressure_measured: Iterable = None, electric_cond: Iterable = None, magnetic_strength_x: Iterable = None, magnetic_strength_y: Iterable = None, magnetic_strength_z: Iterable = None, magnetic_strength_tot: Iterable = None, magnetic_inclination: Iterable = None, magnetic_declination: Iterable = None, temperature: Iterable = None, predrilled_z: float = None, undefined_depth: float = None, cpt_standard: str = None, quality_class: str = None, cpt_type: str = None, result_time: str = None, water_measurement_type: str = None, litho_NEN: Iterable = None, E_NEN: Iterable = None, cohesion_NEN: Iterable = None, fr_angle_NEN: Iterable = None, plot_settings: geolib_plus.plot_settings.PlotSettings = <geolib_plus.plot_settings.PlotSettings object>, g: float = 9.81, Pa: float = 100.0)¶ Bases:
pydantic.main.BaseModelBase CPT class, should define abstract.
-
E0: Optional[Iterable]¶
-
E_NEN: Optional[Iterable]¶
-
Fr: Optional[Iterable]¶
-
G0: Optional[Iterable]¶
-
IC: Optional[Iterable]¶
-
Pa: float¶
-
Qtn: Optional[Iterable]¶
-
Qtncs: Optional[Iterable]¶
-
a: Optional[float]¶
-
are_data_available_interpretation()¶
-
are_data_available_plotting()¶
-
calculate_depth()¶ If depth is present in the cpt and is valid, the depth is parsed from depth elseif resultant inclination angle is present and valid in the cpt, the penetration length is corrected with the inclination angle. if both depth and inclination angle are not present/valid, the depth is parsed from the penetration length. :return:
-
calculate_friction_nbr_if_not_available()¶ Calculates friction number if it is not present in the the cpt input file. Friction number is calculated by applying: sleeve friction / cone resistance * 100
-
check_if_attribute(list_to_be_checked: List, method: str)¶
-
check_if_lists_have_the_same_size()¶
-
cohesion_NEN: Optional[Iterable]¶
-
coordinates: Optional[List]¶
-
cpt_standard: Optional[str]¶
-
cpt_type: Optional[str]¶
-
classmethod
create_from(filepath: pathlib.Path)¶
-
damping: Optional[Iterable]¶
-
depth: Optional[Iterable]¶
-
depth_merged: Optional[Iterable]¶
-
depth_to_reference: Optional[Iterable]¶
-
abstract
drop_duplicate_depth_values()¶
-
effective_pressure_measured: Optional[Iterable]¶
-
effective_stress: Optional[Iterable]¶
-
electric_cond: Optional[Iterable]¶
-
fr_angle_NEN: Optional[Iterable]¶
-
friction: Optional[Iterable]¶
-
friction_nbr: Optional[Iterable]¶
-
g: float¶
-
abstract classmethod
get_cpt_reader() → geolib_plus.cpt_base_model.CptReader¶
-
has_duplicated_depth_values()¶ Check to see if there are any duplicate depth positions in the data :return True if has duplicate depths points based on penetration length
-
abstract
has_points_with_error() → bool¶
-
inclination_ew: Optional[Iterable]¶
-
inclination_ns: Optional[Iterable]¶
-
inclination_resultant: Optional[Iterable]¶
-
inclination_x: Optional[Iterable]¶
-
inclination_y: Optional[Iterable]¶
-
index_merged: Optional[Iterable]¶
-
interpret_cpt(method: geolib_plus.cpt_base_model.AbstractInterpretationMethod)¶
-
litho_NEN: Optional[Iterable]¶
-
litho_points: Optional[Iterable]¶
-
lithology: Optional[Iterable]¶
-
lithology_merged: Optional[Iterable]¶
-
local_reference: Optional[str]¶
-
local_reference_level: Optional[float]¶
-
magnetic_declination: Optional[Iterable]¶
-
magnetic_inclination: Optional[Iterable]¶
-
magnetic_strength_tot: Optional[Iterable]¶
-
magnetic_strength_x: Optional[Iterable]¶
-
magnetic_strength_y: Optional[Iterable]¶
-
magnetic_strength_z: Optional[Iterable]¶
-
n: Optional[Iterable]¶
-
name: Optional[str]¶
-
net_tip: Optional[Iterable]¶
-
penetration_length: Optional[Iterable]¶
-
perform_pre_drill_interpretation(length_of_average_points: int = 3)¶ Is performed only if pre-drill exists. Assumes that depth is already defined. If predrill exists it add the average value of tip, friction and friction number to the pre-drill length. The average is computed over the length_of_average_points. If pore water pressure is measured, the pwp is assumed to be zero at surface level. :param : :type : param cpt_BRO: BRO cpt dataset :param : :type : param length_of_average_points: number of samples of the CPT to be used to fill pre-drill :param : :type : return: depth, tip resistance, friction number, friction, pore water pressure
-
permeability: Optional[Iterable]¶
-
plot(directory: pathlib.Path)¶
-
plot_settings: geolib_plus.plot_settings.PlotSettings¶
-
poisson: Optional[Iterable]¶
-
pore_pressure_u1: Optional[Iterable]¶
-
pore_pressure_u2: Optional[Iterable]¶
-
pore_pressure_u3: Optional[Iterable]¶
-
pore_ratio: Optional[Iterable]¶
-
pre_process_data()¶ Standard pre-processes data which is read from a gef file or bro xml file.
Depth is calculated based on available data. Relevant data is corrected for negative values. Pore pressure is retrieved from available data. #todo extend :return:
-
predrilled_z: Optional[float]¶
-
psi: Optional[Iterable]¶
-
pwp: Optional[Iterable]¶
-
pwp_ini: Optional[Iterable]¶
-
qt: Optional[Iterable]¶
-
quality_class: Optional[str]¶
-
read(filepath: pathlib.Path)¶
-
relative_density: Optional[Iterable]¶
-
abstract
remove_points_with_error()¶
-
result_time: Optional[str]¶
-
rho: Optional[Iterable]¶
-
temperature: Optional[Iterable]¶
-
time: Optional[Iterable]¶
-
tip: Optional[Iterable]¶
-
tip_nbr: Optional[Iterable]¶
-
total_pressure_measured: Optional[Iterable]¶
-
total_stress: Optional[Iterable]¶
-
undefined_depth: Optional[float]¶
-
unit_weight_measured: Optional[Iterable]¶
-
static
update_value_with_pre_drill(local_depth: Iterable, values: Iterable, length_of_average_points: int) → Iterable¶ Appends average value defined from length_of_average_points from missing inputs defined from the size of the local depth input.
-
vertical_datum: Optional[str]¶
-
vs: Optional[Iterable]¶
-
water: Optional[Iterable]¶
-
water_measurement_type: Optional[str]¶
-
-
class
geolib_plus.cpt_base_model.AbstractInterpretationMethod¶ Bases:
objectBase Interpretation method for analyzing CPTs.