Skip to content

Conversation

@nstarman
Copy link
Contributor

No description provided.

@nstarman nstarman added this to the v1.8.0 milestone Dec 20, 2025
@github-actions github-actions bot added 📝 Add / update documentation Add or update documentation. 👷 Add / update CI build system Add or update CI build system. 🔧 Add / update configuration Add or update configuration files. 🎉 Begin a project Begin a project. labels Dec 20, 2025
@nstarman nstarman force-pushed the xarray branch 2 times, most recently from d1c0f93 to e71531b Compare December 20, 2025 01:23
@codecov
Copy link

codecov bot commented Dec 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.45%. Comparing base (7551229) to head (f7ffabb).
⚠️ Report is 36 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #498   +/-   ##
=======================================
  Coverage   97.45%   97.45%           
=======================================
  Files          43       43           
  Lines        1848     1848           
  Branches       49       49           
=======================================
  Hits         1801     1801           
  Misses         36       36           
  Partials       11       11           

☔ 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.

@nstarman nstarman marked this pull request as ready for review December 20, 2025 01:30
@nstarman nstarman requested a review from a team as a code owner December 20, 2025 01:30
Copilot AI review requested due to automatic review settings December 20, 2025 01:30
@nstarman nstarman marked this pull request as draft December 20, 2025 01:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR initializes the unxt-xarray package, which provides seamless integration between unxt's JAX-based physical quantities and xarray's labeled multi-dimensional arrays through .unxt accessors.

Key Changes:

  • Introduces the new unxt-xarray workspace package with quantify/dequantify functionality
  • Adds xarray accessor registration for DataArray and Dataset objects
  • Includes comprehensive test coverage with unit, conversion, and property-based tests

Reviewed changes

Copilot reviewed 20 out of 22 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pyproject.toml Added unxt-xarray to workspace dependencies and test groups
packages/unxt-xarray/pyproject.toml Package configuration for unxt-xarray
packages/unxt-xarray/src/unxt_xarray/init.py Main package entry point, registers accessors
packages/unxt-xarray/src/unxt_xarray/_src/init.py Internal module exports
packages/unxt-xarray/src/unxt_xarray/_src/accessors.py Implements .unxt accessor for DataArray and Dataset
packages/unxt-xarray/src/unxt_xarray/_src/conversion.py Core unit conversion functions for xarray objects
packages/unxt-xarray/tests/unit/test_accessors.py Tests for xarray accessor functionality
packages/unxt-xarray/tests/unit/test_conversion.py Tests for conversion functions
packages/unxt-xarray/tests/unit/test_properties.py Property-based tests using hypothesis
packages/unxt-xarray/docs/index.md Package documentation overview
packages/unxt-xarray/docs/xarray-guide.md Comprehensive usage guide
packages/unxt-xarray/docs/_data/README.md Documentation for sample data files
packages/unxt-xarray/docs/_data/generate_sample_data.py Script to generate sample NetCDF data
packages/unxt-xarray/README.md Package README with quick start
packages/unxt-hypothesis/docs/testing-guide.md Minor header formatting update
noxfile.py Added xarray package support to nox sessions
docs/packages/unxt-xarray Symlink to package documentation
docs/index.md Added unxt-xarray to documentation index
.github/workflows/cd-unxt-xarray.yml CD workflow for unxt-xarray package
.github/copilot-instructions.md Added documentation formatting guidelines

@nstarman nstarman modified the milestones: v1.8.0, v1.9.0 Dec 20, 2025
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
@nstarman nstarman modified the milestones: v1.9.0, v1.10.0 Jan 2, 2026
@nstarman nstarman requested a review from adrn January 13, 2026 13:36
@nstarman nstarman removed this from the v1.10.0 milestone Jan 13, 2026
@nstarman nstarman added this to the future milestone Jan 24, 2026
@nstarman
Copy link
Contributor Author

@adrn I'd love some input on design decisions. Not sure this is the API we want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👷 Add / update CI build system Add or update CI build system. 🔧 Add / update configuration Add or update configuration files. 📝 Add / update documentation Add or update documentation. 🎉 Begin a project Begin a project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant