Skip to content

np.bool deprecated #91

@ChrisBarker-NOAA

Description

@ChrisBarker-NOAA

extract_model does not work with numpy >= 1.24

File ... lib\site-packages\extract_model\grids\triangular_mesh.py:386, in UnstructuredGridSubset._get_intersecting_mask(self, x, y, element, bbox)
    384 """Return a mask for the region subsetted by bbox."""
    385 # The mask that will represent only valid elements
--> 386 mask = np.ones((element.shape[0]), dtype=np.bool)
    388 self._mask_disjoint_triangles(x, y, element, bbox, mask)
    389 submask, _ = self._mask_triangles_with_no_points_in_box(
    390     x, y, element, bbox, mask
    391 )

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