Skip to content

RuntimeError: call execute() before fetching arrays #5

@AnindyaNaskar

Description

@AnindyaNaskar

While trying to execute below line:

arr = pipeline.arrays[0]

Getting below error:

RuntimeError                              Traceback (most recent call last)
<ipython-input-15-dfed5279fb56> in <module>
      1 # Load Pipeline output in python objects
----> 2 arr = pipeline.arrays[0]
      3 description = arr.dtype.descr
      4 cols = [col for col, __ in description]
      5 df = pd.DataFrame({col: arr[col] for col in cols})

c:\users\anindya\anaconda3\envs\dsm1\lib\site-packages\pdal\pipeline.py in get_arrays(self)
     43 
     44     def get_arrays(self):
---> 45         return self.p.arrays
     46     arrays = property(get_arrays)

pdal\libpdalpython.pyx in pdal.libpdalpython.PyPipeline.arrays.__get__ (pdal/libpdalpython.cpp:2352)()

RuntimeError: call execute() before fetching arrays

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions