We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\x1a is a common marker in forigen LAS files.
Files with eof marker of '\x1a' cause lasio read to fail.
with open(row.filename) as file: lines = file.readlines()
print(lines[-2:])
[' 3849.9290 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500\n', '\x1a']
If I remove it the files load. I found a quick fix of checking if the line start with \x1a but I'm hoping there is more elegant way of doing it.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I'll look into it.
Sorry, something went wrong.
Strip EOF (ASCII 26) from files (#321)
ff14c6f
Oh, GitHub closed it automatically - please let me know if that doesn't fix your issues @ahype-loves-geoscience and @ThomasMGeo
Fix was released in v0.25.1
Successfully merging a pull request may close this issue.
\x1a is a common marker in forigen LAS files.
Files with eof marker of '\x1a' cause lasio read to fail.
with open(row.filename) as file:
lines = file.readlines()
print(lines[-2:])
[' 3849.9290 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500 -999.2500\n', '\x1a']
If I remove it the files load. I found a quick fix of checking if the line start with \x1a but I'm hoping there is more elegant way of doing it.
The text was updated successfully, but these errors were encountered: