Skip to content
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

PTS Header Incorrect #305

Open
ryangoss opened this issue May 20, 2021 · 1 comment
Open

PTS Header Incorrect #305

ryangoss opened this issue May 20, 2021 · 1 comment

Comments

@ryangoss
Copy link

points[["x", "y", "z"]].to_csv(filename, **kwargs)

write_ascii is used for asc, csv, pts, txt, xyz and I think it is correct for all of them except pts. See http://paulbourke.net/dataformats/pts/. When I attempt to open the <file>.pts in another viewer I get Read PTS failed: unable to read header. and I believe that is because it is expecting the number of points (e.g. INT) and not x, y, z so it fails to load.

@daavoo
Copy link
Owner

daavoo commented May 21, 2021

Hola @ryangoss . Thanks for the explanation. It looks like some minor changes would need to be added to write_ascii in order to properly support the .pts format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants