Intrusives are usually removed from the geology file (if the config file allows).
if a strati measurement falls into an intrusive, it cannot be used to measure thickness.
This fix removes measurements that fall into empty geology.
Also added check to skip units that are not in the geology map.
Fixes #122
Type of change
[ ] Documentation update
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Test improvement
How Has This Been Tested?
Please describe any tests that you ran to verify your changes.
Provide branch name so we can reproduce.
Tested with code given in issue #122 & branch fix/strati_column_extra_units
Checklist:
[x] This branch is up-to-date with master
[x] All gh-action checks are passing
[x] I have performed a self-review of my own code
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] My tests run with pytest from the map2loop folder
[x] New and existing tests pass locally with my changes
Checklist continued (if PR includes changes to documentation)
[ ] I have built the documentation locally with make.bat
[ ] I have built this documentation in docker, following the docker configuration in map2loop/docs
Description
Intrusives are usually removed from the geology file (if the config file allows). if a strati measurement falls into an intrusive, it cannot be used to measure thickness. This fix removes measurements that fall into empty geology.
Also added check to skip units that are not in the geology map.
Fixes #122
Type of change
How Has This Been Tested?
Please describe any tests that you ran to verify your changes. Provide branch name so we can reproduce.
Tested with code given in issue #122 & branch fix/strati_column_extra_units
Checklist:
Checklist continued (if PR includes changes to documentation)