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

Opening e57 2.3.0 files #32

Open
dancergraham opened this issue Dec 16, 2022 · 4 comments
Open

Opening e57 2.3.0 files #32

dancergraham opened this issue Dec 16, 2022 · 4 comments

Comments

@dancergraham
Copy link
Collaborator

Hello, I have the same error message as described below when trying to open files saved with e57LibraryVersion E57Format-2.3.0-AMD 64-windows

#6 (comment)

  File "/usr/local/lib/python3.10/site-packages/pye57/e57.py", line 139, in read_scan_raw
    np_array, buffer = self.make_buffer(field, header.point_count)
  File "/usr/local/lib/python3.10/site-packages/pye57/e57.py", line 114, in make_buffer
     raise ValueError("Unsupported point field: %s" % field_name)
 ValueError: Unsupported point field: nor:normalX
@dancergraham dancergraham changed the title Opening Libe57 2.3.0 files Opening e57 2.3.0 files Dec 16, 2022
@dancergraham
Copy link
Collaborator Author

Opening the file with read_scan(, ignore_missing_fields=True) instead of read_scan_raw works as a temporary workaround for me

@SirBob01
Copy link

SirBob01 commented Jul 25, 2024

Would it be possible to just skip over the unsupported fields (for read_scan_raw) rather than halt reading entirely?

@dancergraham
Copy link
Collaborator Author

Hello yes maybe - I see you closed your PR - did you decide against this approach?

@SirBob01
Copy link

SirBob01 commented Jul 26, 2024

Oh sorry, I meant to create a change for my fork. But I think this is still a good way to go.

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

No branches or pull requests

2 participants