Skip to content

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

Closed

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?

Activity

  1. added
    bug
    documentation
    on Jul 21, 2026
  2. moved this from 📚 Backlog to 📝 To-Do in UXarray Developmenton Aug 13, 2026
  3. self-assigned this
    on Sep 3, 2026
  4. moved this from 📝 To-Do to 🏗 In progress in UXarray Developmenton Oct 23, 2026
  5. added a commit that references this issue on Oct 27, 2026
    d6fa081
  6. moved this from 🏗 In progress to 👀 In review in UXarray Developmenton Oct 28, 2026
  7. moved this from 👀 In review to ✅ Done in UXarray Developmenton Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdocumentation

Type

No type

Fields

Priority

Low

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions