[pdal] Python pipeline not reading ept.json

Howard Butler howard at hobu.co
Mon Aug 15 12:26:22 PDT 2022



> On Aug 15, 2022, at 12:53 PM, Gelder, Brian K [A&BE] <bkgelder at iastate.edu> wrote:
> 
> Hello,
> I’m a pdal newbie and I’m trying to figure out how to successfully read ept.json files. I have pdal 2.4.2 installed via Conda on Python 3.9 on Win 10 and am able to use the pipeline to process local datasets like interesting.las in the tutorials. However, when I try to read EPT web resources, like in https://pdal.io/en/latest/tutorial/iowa-entwine.html, I receive the following error:
>  
> Traceback (most recent call last):
>   File "<pyshell#15>", line 1, in <module>
>     pipeline2.validate()
>   File "C:\Users\bkgelder\AppData\Local\ESRI\conda\envs\pdal-testing-env\lib\site-packages\pdal\pipeline.py", line 43, in validate
>     return self.p.validate()
>   File "libpdalpython.pyx", line 185, in pdal.libpdalpython.PyPipeline.validate
> RuntimeError: readers.ept: Could not read from s3-us-west-2.amazonaws.com/usgs-lidar-public/IA_FullState/ept.json
>  
> I get similar failure when I tried to query the smaller Hurricane Florence dataset Vishu wrote about last week. I can view the ept.json files in Firefox. Is there a firewall setting I’m missing?

Brian,

The first thing to do is to try a pipeline with 'pdal pipeline' and take Python out of it. Another thing to check is pull a new environment with PDAL 2.4.3 and see if that works. There was a big memory leak of the LAZ decompression in 2.4.0-2.4.2 that you won't want if you're doing things in Python.

Hope this helps,

Howard



More information about the pdal mailing list