Closed VelizarVESSELINOV closed 4 years ago
It could be tricky to read that in using the existing parser...
With recent changes, this type of file does not cause an error message, which is, roughly, about the best we can do for now for this type of file.
>>> las = lasio.read('tests/examples/issue79.las')
>>> sections = las.sections.keys()
>>> sections
dict_keys(['Version', 'Well', 'Curves', 'Parameter', 'Other', " DEPTH TENSION CCL GR 3' AMP TT"])
>>> las.sections[list(sections)[-1]]
[HeaderItem(mnemonic="1088:1", unit="1737", value="339.4208 9.0000 35....),
HeaderItem(mnemonic="1088:2", unit="6737", value="339.4208 9.0000 35....)]
Missing ~A section, it would be good to have more clear message if it is LAS 2.0, that ~A section is missing, the current error message is unclear. And maybe this is valid LAS 3.0 file to be checked with the spec for LAS 3.0.