Skip to content

Use contiguous arrays for point containment checks  #1358

@philipc2

Description

@philipc2

I was also curious about this warning that surfaces to the user:

uxarray/grid/point_in_face.py:168: NumbaPerformanceWarning: np.dot() is faster on contiguous arrays, called on (Array(float64, 1, 'C', False, aligned=True), Array(float64, 1, 'A', False, aligned=True))
  hits = _get_faces_containing_point(

Did you look at trying to address that? If you decide(d) it's not important or whatever, maybe we can catch and filter it so the user doesn't see it.

Originally posted by @zmoon in #1354 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

📝 To-Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions