You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New accessor for bitpacking and unbitpacking binary/boolean DataArrays #11610
As part of a larger project I've been working on, I created bitpacking/unbitpacking methods that utilize numpy's packbits/unpackbits functions under the hood, but stores and reads all the relevant information about what each bit represents and how the packing was done as metadata on an xarray.DataArray.
I recently extracted that code from the larger project it was in, and wrote it up as a DataArray accessor extension that is available here. I'm planning on uploading it to PyPI in the near future to make it easier to install, but also wanted to post it here.
Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!
Activity
welcome commentedon Sep 25, 2026
Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!