File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
examples/tutorials/z_other_tutorials/json_io Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 60
60
"y" : 0.0 ,
61
61
"z" : - 20.0 ,
62
62
"id" : 0 ,
63
- "nugget" : 0.000001 # Default nugget value
63
+ "nugget" : 0.0 # Default nugget value
64
64
}
65
65
],
66
66
"orientations" : [
86
86
"c_o" : 5.0
87
87
},
88
88
"mesh_extraction" : True ,
89
- "number_octree_levels" : 4
90
- }
89
+ "number_octree_levels" : 2
90
+ },
91
+ "series" : [
92
+ {
93
+ "name" : "default_formations" ,
94
+ "surfaces" : ["surface1" ],
95
+ "structural_relation" : "ERODE"
96
+ }
97
+ ]
91
98
}
92
99
93
100
# Save the JSON model
Original file line number Diff line number Diff line change @@ -150,7 +150,9 @@ def load_model_from_json(file_path: str):
150
150
)
151
151
152
152
# Calculate default range based on model extent
153
- default_range = JsonIO ._calculate_default_range (grid_settings ['regular_grid_extent' ])
153
+ # default_range = JsonIO._calculate_default_range(grid_settings['regular_grid_extent'])
154
+ # set as fixed value
155
+ default_range = 1.7 # Match standard GemPy default
154
156
155
157
# Create interpolation options with defaults if not provided
156
158
interpolation_options = InterpolationOptions (
You can’t perform that action at this time.
0 commit comments