Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make xarray objects unit-aware via Pint-xarray #141

Open
niksirbi opened this issue Mar 12, 2024 · 0 comments
Open

Make xarray objects unit-aware via Pint-xarray #141

niksirbi opened this issue Mar 12, 2024 · 0 comments
Assignees
Labels
enhancement New optional feature

Comments

@niksirbi
Copy link
Member

niksirbi commented Mar 12, 2024

xarray wraps Pint-xarray allowing the assignment of physical units.

Relevant example from the above article:

ds = xr.Dataset({'a': 2, 'b': 10})

ds.pint.quantify({'a': 'kg',
                  'b': pint.Unit('moles')})
@niksirbi niksirbi added the enhancement New optional feature label Mar 12, 2024
@niksirbi niksirbi changed the title Make xarray objects unit-aware via Pint-xarrat Make xarray objects unit-aware via Pint-xarray Mar 12, 2024
@niksirbi niksirbi moved this from 🤔 Triage to ⚠️ Priority in movement progress tracker Mar 25, 2024
@niksirbi niksirbi self-assigned this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New optional feature
Projects
Status: 🤔 Triage
Development

No branches or pull requests

1 participant