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

Introduce ErrorHandler to load #355

Closed achaikou closed 3 years ago

achaikou commented 3 years ago

Note that this commit changes current default LIS load behavior. Before load of broken files almost always returned correctly. All the errors were put in the log. Now the same files will fail unless custom errorhandler is injected into the load function.

ErrorHandler is not passed down to the logical file yet, but there are plans to make it available at least for the curves.

Need to handle some warning messages might come in the future as well.