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

Duplicated Mnemonics on LIS files. #392

Closed rodiegeology closed 2 years ago

rodiegeology commented 3 years ago

Tha same issue presented here https://github.com/equinor/dlisio/issues/95 for DLIS files is occuring with me when reading LIS files, is there any workaround this issue like changing the mnemonic name or something like it? I just want to retrieve the mnemonics, not the curves.

"ValueError: field 'CALI' occurs more than once"

ErlendHaa commented 3 years ago

Mnemonics are just metadata, so you can grab them without out going through .curves(f, dfsr) or .curves_metadata(f, dfsr). E.g. mnems = [x.mnemonic for x in dfsr.specs].

Alternatively, check out the strict option in .curves() and .curves_metadata()