equinor / dlisio

Python library for working with the well log formats Digital Log Interchange Standard (DLIS V1) and Log Information Standard (LIS79)
https://dlisio.readthedocs.io/en/latest/
Other
121 stars 39 forks source link

Expand Process Indicators mask #366

Closed ErlendHaa closed 3 years ago

ErlendHaa commented 3 years ago

The property indicators mask in LIS Spec Block subtype 1 contains some useful information. However it is rather cumbersome to work with as a raw bit mask, particularly in Python, where masks are represented as 'bytes'.

The mask is expanded to a struct in C++, mostly because the mask contains both int and boolean values. The struct is converted to a python dict, to get a more ergonomic python interface.