xarray
xarray copied to clipboard
N-D labeled arrays and datasets in Python
### What happened? The `store` parameter of the `xr.core.Dataset.to_zarr` method is annotated with the following type hint: `MutableMapping | str | PathLike[str] | None` This causes a type checker error...
- [x] Closes #10417 - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` # Update Minimum Dependencies The minimum required versions for several key dependencies have...
When Xarray joined NumFOCUS in 2018, we adopted the "Contributor Covenant" Code of Conduct because that was recommended by NumFOCUS, and having a Code of Conduct was a requirement for...
`assert_equal(..., check_dim_order=False)` did not do anything when two `DataTree` objects are passed. Requires #10440 for the tests to pass, so a draft for now.
- [x] Closes #9342 - [x] Closes #10014 - [x] Tests added - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [x] New functions/methods are...
Time `dtype` encoding defaults to `"int64"` for datasets with only zero-hour times when writing to netcdf or zarr. This results in these datasets having a precision constrained by how the...
### What happened? Slicing a DataArray with RangeIndex coordinate can put that coordinate in an internally inconsistent state. ### What did you expect to happen? No internally inconsistent state. ###...
`xr.testing.assert_equal(dt1, dt2)` fails when the `DataTree` objects differ. Because `diff_dataset_repr` was called with `"equal"` instead of `"equals"` which does not call `all()`, leading to the following error ```python-traceback ValueError: The...
- [x] Closes #10426 - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed...
### Is your feature request related to a problem? This should drop any seasons that don't have complete coverage in the data as we do for `SeasonResampler`. I have not...