@@ -974,6 +974,7 @@ def skrige_sgs(prediction_grid, df, xx, yy, zz, num_points, vario, radius, seed=
974974 sgs [z ] = rng .normal (est ,math .sqrt (var ),1 )
975975 else :
976976 sgs [z ] = df ['Z' ].values [np .where (test_idx == 2 )[0 ][0 ]]
977+ continue
977978
978979 coords = prediction_grid [z :z + 1 ,:]
979980 df = pd .concat ([df ,pd .DataFrame ({'X' : [coords [0 ,0 ]], 'Y' : [coords [0 ,1 ]],
@@ -1077,7 +1078,8 @@ def okrige_sgs(prediction_grid, df, xx, yy, zz, num_points, vario, radius, seed=
10771078
10781079 sgs [z ] = rng .normal (est ,math .sqrt (var ),1 )
10791080 else :
1080- sgs [z ] = df ['Z' ].values [np .where (test_idx == 2 )[0 ][0 ]]
1081+ sgs [z ] = df ['Z' ].values [np .where (test_idx == 2 )[0 ][0 ]]
1082+ continue
10811083
10821084 coords = prediction_grid [z :z + 1 ,:]
10831085 df = pd .concat ([df ,pd .DataFrame ({'X' : [coords [0 ,0 ]], 'Y' : [coords [0 ,1 ]], 'Z' : [sgs [z ]]})], sort = False )
@@ -1183,6 +1185,7 @@ def cluster_sgs(prediction_grid, df, xx, yy, zz, kk, num_points, df_gamma, radiu
11831185 else :
11841186 sgs [z ] = df ['Z' ].values [np .where (test_idx == 2 )[0 ][0 ]]
11851187 cluster_number = df ['K' ].values [np .where (test_idx == 2 )[0 ][0 ]]
1188+ continue
11861189
11871190 coords = prediction_grid [z :z + 1 ,:]
11881191 df = pd .concat ([df ,pd .DataFrame ({'X' : [coords [0 ,0 ]], 'Y' : [coords [0 ,1 ]],
@@ -1450,6 +1453,7 @@ def cosim_mm1(prediction_grid, df1, xx1, yy1, zz1, df2, xx2, yy2, zz2, num_point
14501453 cosim [z ] = rng .normal (est_cokrige ,math .sqrt (var_cokrige ),1 )
14511454 else :
14521455 cosim [z ] = df1 ['Z' ].values [np .where (test_idx == 2 )[0 ][0 ]]
1456+ continue
14531457
14541458 coords = prediction_grid [z :z + 1 ,:]
14551459 df1 = pd .concat ([df1 ,pd .DataFrame ({'X' : [coords [0 ,0 ]], 'Y' : [coords [0 ,1 ]], 'Z' : [cosim [z ]]})], sort = False )
0 commit comments