-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
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
Parse comma-delimited ~ASCII sections #265
Comments
Is there a real-world example LAS file with comma-delimited ~ASCII section? |
Try las_sample_3.0.las in the repo, I think all data sections in there are comma delimited. |
@kinverarity1, How should Lasio identify to parse the ~ASCII section with comma-delimiter? I think these are the options. Is one of these (or something else) preferred?:
Thanks, |
I'd prefer the second approach mixed with the "provisional" approach we use for WRAP and NULL (see the DLM item in the version section):
Then we could just provide a keyword argument to force a choice? Not sure what to default to - probably whitespace. My preference is mainly driven by laziness 🙃 First option would be great and we can do it if you want! |
Reading through 1.2/2.0 and 3.0 specs only 3.0 has DLM. The 3.0 spec says that if DLM is not stated then the default delimiter is space. So we could set the default to space and if DLM is stated then adopt its value. That would roughly be the First option and I think is pretty do-able. I'll attempt a draft branch of it. |
Dev Notes (may change over time...) Edited 2021-08-10:
|
…-data Parse comma-delimited ~ASCII sections #265
What is the current status of this issue? I see a pull request have been merged. Is it done? |
I believe the PR only implemented it for the normal (slow) parser, not the numpy (fast) parser. And also didn't allow for user specification of the delimiter. |
This may be causing an issue for some: https://stackoverflow.com/questions/53874152/how-to-perform-the-same-edit-on-a-folder-of-csv-files
The text was updated successfully, but these errors were encountered: