Skip to content

Bug: TypeError: bad operand type for unary ~: 'list' #38

@jcsmithhere

Description

@jcsmithhere

The issue appears when interior=False in bdf.filter_boundary.

>>> from bolides import BolideDataFrame
>>> bdf = BolideDataFrame(source='glm')
downloading: 22.8MiB [00:00, 67.0MiB/s]
>>> bdf.filter_boundary(['goes-e', 'goes-w'], intersection=True, interior=False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/bohr/dev_atap/bolides/bolides/bdf.py", line 345, in filter_boundary
    bdf = bdf[~points_in_poly]
              ^^^^^^^^^^^^^^^
TypeError: bad operand type for unary ~: 'list'
>>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions