You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the wedge model with GR,
w, top, base, ref = bg.models.wedge(depth=(200, 600, 400),
width=(20, 260, 20),
strat=(log_above, log_wedge, log_below),
mode='sigmoid', conformance='bottom',
thickness=(0, 2)
)
rise the following error;
File ~/opt/anaconda3/envs/intel_env/lib/python3.11/site-packages/bruges/models/wedge.py:251, in wedge(depth, width, breadth, strat, thickness, mode, conformance)
245 zooms = modes.get(mode, mode)(left, right, Z2)
247 # Get the reference stratigraphy in each layer.
248 # The 'well log' case is tricky, because layer1 and layer3
249 # need to know about the amount of zoom on the wedge layer.
250 # There must be an easier way to do this.
--> 251 layer1 = get_strat(strat[0], L1, position=0, wedge=(strat[1], L2))
252 layer2_ = get_strat(strat[1], L2, position=1)
253 layer3 = get_strat(strat[2], L3, position=-1, wedge=(strat[1], L2))
...
RuntimeError: input and output rank must be > 0
I am running welly 0.5.2 and bruges 0.5.4
Cheers
The text was updated successfully, but these errors were encountered:
Hi,
When running the wedge model with GR,
w, top, base, ref = bg.models.wedge(depth=(200, 600, 400),
width=(20, 260, 20),
strat=(log_above, log_wedge, log_below),
mode='sigmoid', conformance='bottom',
thickness=(0, 2)
)
rise the following error;
File ~/opt/anaconda3/envs/intel_env/lib/python3.11/site-packages/bruges/models/wedge.py:251, in wedge(depth, width, breadth, strat, thickness, mode, conformance)
245 zooms = modes.get(mode, mode)(left, right, Z2)
247 # Get the reference stratigraphy in each layer.
248 # The 'well log' case is tricky, because layer1 and layer3
249 # need to know about the amount of zoom on the wedge layer.
250 # There must be an easier way to do this.
--> 251 layer1 = get_strat(strat[0], L1, position=0, wedge=(strat[1], L2))
252 layer2_ = get_strat(strat[1], L2, position=1)
253 layer3 = get_strat(strat[2], L3, position=-1, wedge=(strat[1], L2))
...
RuntimeError: input and output rank must be > 0
I am running welly 0.5.2 and bruges 0.5.4
Cheers
The text was updated successfully, but these errors were encountered: