Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wedge model with GR #6

Open
Al3xdevito opened this issue Feb 28, 2023 · 0 comments
Open

wedge model with GR #6

Al3xdevito opened this issue Feb 28, 2023 · 0 comments

Comments

@Al3xdevito
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant