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

reading different las versions (not urgent) #72

Open
komazsofi opened this issue Feb 6, 2018 · 0 comments
Open

reading different las versions (not urgent) #72

komazsofi opened this issue Feb 6, 2018 · 0 comments

Comments

@komazsofi
Copy link
Contributor

I created a las file with LAStools (not with Cloud Compare) I got this error message back. I think this error comes from the different las versions.

Traceback (most recent call last):
File "C:\Program Files\Miniconda3\lib\site-packages\laspy\base.py", line 672, in get_dimension
spec = self.point_format.lookup[name]
KeyError: 'gps_time'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:/GitHub/komazsofi/myPhD_escience_analysis/test_laserchicken/mydummytest_laserchicken.py", line 11, in
pc = read_las.read("D:/NAEM/Data/ALS_AHN2/SelStudyArea2.las")
File "D:/GitHub/eEcoLiDAR/develop-branch/eEcoLiDAR\laserchicken\read_las.py", line 39, in read
if hasattr(file, name):
File "C:\Program Files\Miniconda3\lib\site-packages\laspy\file.py", line 525, in get_gps_time
return(self._reader.get_gps_time())
File "C:\Program Files\Miniconda3\lib\site-packages\laspy\base.py", line 859, in get_gps_time
return(self.get_dimension("gps_time"))
File "C:\Program Files\Miniconda3\lib\site-packages\laspy\base.py", line 677, in get_dimension
" not found.")
laspy.util.LaspyException: Dimension: gps_time not found.

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

1 participant