Skip to content

UxDataArray.integrate() ignores quadrature_rule and order kwargs #1599

Description

@Sevans711

Version

2026.6.0

How did you install UXarray?

Source

What happened?

Calling UxDataArray.integrate(order=8), for example, does not actually utilize order=8. Similarly, adjusting quadrature_rule has no effect on results. This was introduced by #1379, which swapped to using self.uxgrid.face_areas instead of self.uxgrid.compute_face_areas(quadrature_rule, order) here, but failed to remove the quadrature_rule and order kwargs from the function signature and docstring.

Related: #1567, #1568, #1571, #1577.

What did you expect to happen?

I expected these documented kwargs to be handled properly inside the function, or for these kwargs to be removed or be documented as "deprecated".

If the decision ends up being to properly handle these kwargs, it might make sense to wait until after #1577 gets merged. If the decision is to remove them, maybe there should be a deprecation cycle?

Can you provide a MCVE to repoduce the bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status
    📚 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions