virtual-vehicle / pointcloudset

Efficient analysis of large datasets of point clouds recorded over time

Home Page:https://virtual-vehicle.github.io/pointcloudset/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dataset with empty pointclouds

tgoelles opened this issue · comments

Saving a dataset with an empty frame results in erros. Also an empty frame in a dataset results in a warning from pyntcloud

To Reproduce
Steps to reproduce the behavior:
Apply a function which results in an empty frame and try to save it

warnings from pyntcloud

opt/conda/lib/python3.8/site-packages/pyntcloud/core_class.py:670: RuntimeWarning:
Mean of empty slice.

repeated many times for a single frame

Expected behavior
A clear and concise description of what you expected to happen.
Dataset can handle empty frames and can also read and write them

3 related problems:

  1. empty dask partitions are not saved
    related to open dask issue: dask/dask#5252

  2. different column names when the frame (PointCloud) is empty

  3. no real empty PointCloud object implemented yet

solved in release 0.2.3