cBLUE-dev-team / cBLUE.github.io

cBLUE is a tool to calculate the total propagated uncertainty of bathymetric lidar data.
https://noaa-rsd.github.io/cBLUE.github.io/
GNU Lesser General Public License v2.1
12 stars 1 forks source link

las.py | ValueError: no field of name raw_classification #39

Closed jkspring closed 3 years ago

jkspring commented 4 years ago

Some las files fail when trying to process TPU if they are not "raw_classification" type.

Workaround currently is to change in las.py line 104 from _c = self.points_toprocess['raw classification'] to _c = self.points_to_process['classificationbyte']

jkspring commented 4 years ago

Looks to be a las 1.2 vs. las 1.4 issue.

forkozi commented 4 years ago

Thanks. This should be an easy one. I'll add an if/then to decide what key to use based on the las version.

klangrjt commented 3 years ago

Fixed in commit 844ac87e6cf3f5c8b42bb9e0632aa0fd88e5313a