gempy
gempy copied to clipboard
remove_unused_series not functioning as intended
Describe the bug Overall, "remove_unused_series=True", does not work as intended (or understood on my end). I tried multiple examples:
- Mapping fewer layers in mapstack, than there are in complete input data => Model computes, but includes all layers, not only the mapped ones
- 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
Desktop (please complete the following information):
- OS: Windows 11
- GemPy Version
- 2024.2.0.2
Additional context showcase_remove_unused_series.zip