xarray icon indicating copy to clipboard operation
xarray copied to clipboard

N-D labeled arrays and datasets in Python

Results 629 xarray issues
Sort by recently updated
recently updated
newest added

This is probably not the best way to do this, but I figured I would start with the simplest way and go from there. `inline_array` snakes its way through the...

topic-backends
topic-documentation
topic-zarr
io

### What happened? Hi, I think I found a memory bug that happens when using xarray from version 2025.3.0 when also dask in any version is present. The memory of...

plan to close

### Is your feature request related to a problem? When I use `netCDF4.Dataset` to open a file whose path contains Chinese characters, I get: ``` Python3 import netCDF4 file =...

enhancement

### What happened? I ran into a large memory allocation when doing an isel on a zarr dataset with dask turned off (ie opened with `open_dataset("mydataset.zarr", chunks=None)`), which caused the...

topic-indexing
topic-performance

- [ ] Documentation concern in #10312 - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New...

topic-documentation

### What happened? Same example as in [DataArray.idxmax](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.idxmax.html#xarray.Dataset.idxmax) but instead we look at the "y" dimension. The starting "y" coordinates are of type int: `[-1,0,1]` The return values of argmax...

bug

During the index refactor the `Coordinates` class has become much more important than it was before, changing from a simple proxy class to a full-featured container. This PR changes the...

topic-documentation

### What happened? In 2025.4.0 and on the current master, trying to export to netCDF a dataset created from a dataframe with categorical index raises the error: ``` TypeError: Cannot...

bug
topic-CF conventions
plan to close

- [x] Closes #9792 - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed...

topic-documentation

### What happened? Dimensions from the root group are re-defined in subgroups when saving a DataTree to netCDF. ### What did you expect to happen? Subgroups to inherit dimensions from...

bug
topic-DataTree