gempy icon indicating copy to clipboard operation
gempy copied to clipboard

remove_unused_series not functioning as intended

Open NilsChudalla opened this issue 1 year ago • 0 comments

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 avatar Nov 27 '24 15:11 NilsChudalla