Open Aycon3296 opened 7 months ago
Thanks for reporting - can you provide an example file? Also is the data section wrapped onto multiple lines and if so what is the value of the line with WRAP in the ~V section?
Certainly! Here's my example. It is truncated and the extension is changed to "txt". 321-02.txt
Thank you, the sample is very helpful
Describe the bug lasio incorrectly determines the number of columns in a multiline LAS file when the count of curves is a multiple of the number of columns.
reader.inspect_data_section
returns of "8" (number of columns in first line of pure data) istead of "-1" on my LAS File with 56 curves. I was only able to fix this by using the monkey patch by adding a check that:To Reproduce Try open (or read) multiline LAS file where a count of columns data is a multiple of headers (mnemonics in '~C' sector).
Current behavior Console write many warnings as is:
The number of data lines read is 7 times less than actual lines (56 // 8 = 7).
Expected behavior LAS file readed correctly.