@@ -1076,17 +1076,28 @@ def create_and_add_intrusion(
10761076
10771077 Parameters
10781078 ----------
1079- intrusion_name : string, name of intrusion feature in model data
1080- intrusion_frame_name : string, name of intrusion frame in model data
1081- intrusion_network_type : string, algorithm to build intrusion network 'interpolated' or 'shortest path'
1082- intrusion_network_contact : string, name of contact (roof or floor) to be used to build intrusion network
1083- contacts_anisotropies : list, name of stratigraphic units where intrusion is emplaced
1084- structures_anisotropies : list, name of structures exploited by intrusion
1085- sequence_anisotropies = list, name of anisotropies to look for the shortest path. It could be only starting and end point.
1086- intrusion_lateral_extent_model = function, geometrical conceptual model for simulation of lateral extent
1087- intrusion_vertical_extent_model = function, geometrical conceptual model for simulation of vertical extent
1088- lateral_extent_sgs_parameters = dictionary, parameters for sequential gaussian simulation of lateral extent
1089- vertical_extent_sgs_parameters = dictionary, parameters for sequential gaussian simulation of vertical extent
1079+ intrusion_name : string,
1080+ name of intrusion feature in model data
1081+ intrusion_frame_name : string,
1082+ name of intrusion frame in model data
1083+ intrusion_network_type : string,
1084+ algorithm to build intrusion network 'interpolated' or 'shortest path'
1085+ intrusion_network_contact : string,
1086+ name of contact (roof or floor) to be used to build intrusion network
1087+ contacts_anisotropies : list,
1088+ name of stratigraphic units where intrusion is emplaced
1089+ structures_anisotropies : list,
1090+ name of structures exploited by intrusion
1091+ sequence_anisotropies = list,
1092+ name of anisotropies to look for the shortest path. It could be only starting and end point.
1093+ intrusion_lateral_extent_model = function,
1094+ geometrical conceptual model for simulation of lateral extent
1095+ intrusion_vertical_extent_model = function,
1096+ geometrical conceptual model for simulation of vertical extent
1097+ lateral_extent_sgs_parameters = dictionary,
1098+ parameters for sequential gaussian simulation of lateral extent
1099+ vertical_extent_sgs_parameters = dictionary,
1100+ parameters for sequential gaussian simulation of vertical extent
10901101
10911102 kwargs
10921103
@@ -1115,7 +1126,7 @@ def create_and_add_intrusion(
11151126 INet .set_sequence_of_exploited_anisotropies (sequence_anisotropies )
11161127 INet .set_velocity_parameters ()
11171128 INet .set_sections_axis (inet_axis )
1118- print ("building intrusion network" )
1129+ logger . info ("building intrusion network" )
11191130 INet .build (** kwargs )
11201131
11211132 # Create intrusion frame, using intrusion network points, propagation and inflation direction
@@ -1126,7 +1137,7 @@ def create_and_add_intrusion(
11261137
11271138 weights = [gxxgz , gxxgy , gyxgz ]
11281139 # reg=np.array([1,0.5,1])
1129- print ("building intrusion frame" )
1140+ logger . info ("building intrusion frame" )
11301141 interpolator = self .get_interpolator (interpolatortype = "FDI" )
11311142 frame_data = self .data [self .data ["feature_name" ] == intrusion_frame_name ].copy ()
11321143 IFrame_builder = IntrusionBuilder (
@@ -1166,13 +1177,13 @@ def create_and_add_intrusion(
11661177 )
11671178
11681179 else :
1169- print ("setting data for lateral thresholds simulation" )
1180+ logger . info ("setting data for lateral thresholds simulation" )
11701181 IBody .set_data_for_s_simulation ()
11711182 IBody .set_lateral_extent_conceptual_model (intrusion_lateral_extent_model )
11721183 IBody .set_s_simulation_GSLIBparameters (lateral_extent_sgs_parameters )
11731184 IBody .make_s_simulation_variogram (lateral_extent_sgs_parameters )
11741185 IBody .create_grid_for_simulation ()
1175- print ("simulating thresholds for lateral extent" )
1186+ logger . info ("simulating thresholds for lateral extent" )
11761187 IBody .simulate_s_thresholds ()
11771188
11781189 intrusion_feature .set_simulation_lateral_data (IBody .simulated_s_thresholds )
@@ -1183,12 +1194,12 @@ def create_and_add_intrusion(
11831194 )
11841195
11851196 else :
1186- print ("setting data for vertical thresholds simulation" )
1197+ logger . info ("setting data for vertical thresholds simulation" )
11871198 IBody .set_data_for_g_simulation ()
11881199 IBody .set_vertical_extent_conceptual_model (intrusion_vertical_extent_model )
11891200 IBody .set_g_simulation_GSLIBparameters (vertical_extent_sgs_parameters )
11901201 IBody .make_g_simulation_variogram (vertical_extent_sgs_parameters )
1191- print ("simulating thresholds for vertical extent" )
1202+ logger . info ("simulating thresholds for vertical extent" )
11921203 IBody .simulate_g_thresholds ()
11931204
11941205 intrusion_feature .set_simulation_growth_data (IBody .simulated_g_thresholds )
0 commit comments