pint-xarray
pint-xarray copied to clipboard
Interface for using pint with xarray, providing convenience accessors
- [x] Closes #216 - [x] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst`
Moving to a separate issue to be able to properly track this. > Why does `pint-xarray` require `pint.application_registry.force_ndarray_like = True` in the first place? I don't like when my dependencies...
Xarray has the nice `xarray.DataArray.integrate` method to integrate a data array over one of its coordinates. I automatically accounts for the values of the coordinates. The integration results should have...
For example, consider the `spectroscopy` context: ``` @context(n=1) spectroscopy = sp ``` There the conversion depends on the variable `n` used. Now, consider a `DataArray`/`DataSet` where `n` is a `dimension`/`coordinate`....
Arrays with dtype `timedelta64` are basically quantities with dimension `[time]`, and they even have explicit units. It would be really useful to be able to convert between those and `pint`...
The set_xindex methods of DataArray and Dataset drop the units. Is there a way to add a pint.set_xindex functionality? Edit: I realized that I can not seem to initialize a...
- [ ] Closes #xxxx - [ ] Tests added - [ ] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1. Release notes Sourced from codecov/codecov-action's releases. v4.3.1 What's Changed build(deps-dev): bump typescript from 5.4.4 to 5.4.5 by @dependabot in codecov/codecov-action#1370 fix: more verbose log...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.4.1. Release notes Sourced from codecov/codecov-action's releases. v4.4.1 What's Changed build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.8.0 to 7.9.0 by @dependabot in codecov/codecov-action#1427 fix: prevent xlarge from...