1

I tried to import .laz files with:

for mydom in $(ls *.laz) ; do r.in.pdal input=$mydom output=$(basename $mydom .laz) method=percentile pth=90; done

and got this error:

Traceback (most recent call last):
  File "/.grass7/addons/scripts/r.in.pdal", line 532, in <module>
    main()
  File "//.grass7/addons/scripts/r.in.pdal", line 464, in main
    command_pdal1.extend(['pipeline', '--input', tmp_file_json2])
UnboundLocalError: local variable 'tmp_file_json2' referenced before assignment

1 Answer 1

1

Yes, you spotted a bug which we have fixed a few days ago (commit reference).

Simply reinstall the r.in.pdal command with g.extension to fetch the updated version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.