Skip to content

Upgrade uxarray to 2025.12.0 and bug fixes#4

Merged
kjnam merged 3 commits into
mainfrom
uxarray-upgrade-branch
Feb 11, 2026
Merged

Upgrade uxarray to 2025.12.0 and bug fixes#4
kjnam merged 3 commits into
mainfrom
uxarray-upgrade-branch

Conversation

@aesgeorges
Copy link
Copy Markdown
Contributor

Upgrades the uxarray dependency from 2025.6.0 to 2025.12.0.

Bugfix: In SxDataArray.init pop uxgrid from kwargs (if present) and assign it to sxgrid so the parent UxDataArray reconstruction paths (e.g., isel) no longer produce multiple-value/type errors.

Bugfix: in _schismgrid._rename_coords add checks to rename SCHISM dimensions to n_edge, n_face, n_node as uxarray.io._read_ugrid does not consistently rename dimensions.

@aesgeorges aesgeorges requested a review from kjnam February 9, 2026 18:44
Alexandre Georges added 3 commits February 10, 2026 16:52
In SxDataArray constructor, pop incoming uxgrid from kwargs and assign to sxgrid before calling super().__init__. This prevents isel (and potentially other paths leading to UxDataArray/SxDataArray reconstructions) from passing uxgrid in kwargs and causing multiple-value errors.
…ame_coords to address issues with uxarray

uxarray's _read_ugrid function does not properly rename nSCHISM_hgrid_edge dimension to n_edge anymore. Added temporary path to rename this dimension (and n_face and n_node for future) on our side when _read_schism_grid is called. Fixes failing test_integrate_nodal.
@kjnam kjnam force-pushed the uxarray-upgrade-branch branch from 617c303 to 4fd23b6 Compare February 11, 2026 00:53
@kjnam kjnam merged commit 45bef4b into main Feb 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants