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

remove_unused_series not functioning as intended #957

Open
NilsChudalla opened this issue Nov 27, 2024 · 0 comments
Open

remove_unused_series not functioning as intended #957

NilsChudalla opened this issue Nov 27, 2024 · 0 comments
Labels
bug? Possible bug gempy 3 Will come with the next major update

Comments

@NilsChudalla
Copy link
Member

NilsChudalla commented Nov 27, 2024

Describe the bug
Overall, "remove_unused_series=True", does not work as intended (or understood on my end). I tried multiple examples:

  1. Mapping fewer layers in mapstack, than there are in complete input data => Model computes, but includes all layers, not only the mapped ones
  2. Mapping fewer layers in mapstack, than there are in incomplete input data (orientations only for mapped layer) = >"ValueError: Inconsistent shapes in StacksStructure", furthermore, input points are not remove from model (see screenshot)

In 2., I tried single and multiple layers per series, with same result.

To Reproduce
See attached jupyternotebook in .zip

Expected behavior
Exclusion of formations mentioned in gp.map_stack_to_surfaces() from both, computed surfaces and input data.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • GemPy Version
    • 2024.2.0.2

Additional context
showcase_remove_unused_series.zip

@NilsChudalla NilsChudalla added bug? Possible bug gempy 3 Will come with the next major update labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Possible bug gempy 3 Will come with the next major update
Projects
None yet
Development

No branches or pull requests

1 participant