Skip to content

Comments

feat: Auto-find dims and coords on arrays that support it#228

Merged
tlambert03 merged 1 commit intopyapp-kit:mainfrom
tlambert03:inspect-dims-coords
Feb 6, 2026
Merged

feat: Auto-find dims and coords on arrays that support it#228
tlambert03 merged 1 commit intopyapp-kit:mainfrom
tlambert03:inspect-dims-coords

Conversation

@tlambert03
Copy link
Member

We have a sort of "implicit" xarray-API mirror going on here, where array objects can inform us about the dimension names and coordinates using dims and coords, but that's only actually working for literal xarray objects. This hoists that logic up to the base class, so that any ArrayLike object that has dims can label the dimensions

@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.05%. Comparing base (1237487) to head (2aad6df).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #228      +/-   ##
==========================================
- Coverage   86.10%   86.05%   -0.05%     
==========================================
  Files          46       46              
  Lines        5209     5208       -1     
==========================================
- Hits         4485     4482       -3     
- Misses        724      726       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tlambert03 tlambert03 merged commit d60f273 into pyapp-kit:main Feb 6, 2026
52 checks passed
@tlambert03 tlambert03 deleted the inspect-dims-coords branch February 6, 2026 20:53
@tlambert03 tlambert03 added the enhancement New feature or request label Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant