xarray icon indicating copy to clipboard operation
xarray copied to clipboard

N-D labeled arrays and datasets in Python

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

### What is your issue? As discussed in https://github.com/pydata/xarray/pull/10931 and https://github.com/pydata/xarray/pull/10804 the `netcdf4` backend currently claims all URLs via it's `guess_can_open` method. https://github.com/pydata/xarray/blob/6e82a3afa8e47e7ed59441e77f812ceeaeaf5668/xarray/backends/netCDF4_.py#L718-L731 This is overeager and led to issues...

needs triage

## Summary - Fixes #10704 - `assert_equal` with `check_dim_order=False` now works correctly for Datasets containing variables with different dimension orders ## The Bug When comparing Datasets with `check_dim_order=False`, the comparison...

topic-testing

Only require monotonic coordinates along concatenation dimensions. Previously, identical non-monotonic coordinates on non-concat dims erroneously raised a ValueError. Includes regression test. Closes # (refer to issue number if applicable) -...

### What is your issue? `NDPointIndex` supports indexing along multiple indexed coordinates at the same time, but only for coordinates that have 2 or more dimensions (usually curvilinear grids, like...

bug
topic-indexing

Addresses issue #3894 by providing a public API for selecting multiple variables that always returns a Dataset (unlike `__getitem__`) and accepts sequence types including tuples. This eliminates the need to...

### What happened? If I construct the following DataArray, and try to chunk its `"x"` coordinate, I get back a NumPy-backed DataArray: ``` In [2]: a = xr.DataArray([1, 2, 3],...

bug

### What is your issue? The explicit mypy tests introduced in https://github.com/pydata/xarray/pull/10038 seem to be quite fragile, e.g., they are currently broken at head and I know have been broken...

CI

This PR adds support for indexing with multiple items as a list of paths in `DataTree.__getitem__`, e.g., `tree[['first', 'second']]`. It also includes internal improvements to `NodePath` (now renamed to `TreePath`):...

topic-backends
topic-zarr
topic-DataTree
io

### What is your issue? xarray currently uses its own `nanops.nansum` when calling `DataArray.sum(..., skipna=None)`, which relies on `sum_where`. This implementation route is very inefficient for sparse arrays, especially (and...

topic-performance
topic-arrays

### What happened? I had a process that needed to concatenate a Boolean matrix with a 3D float tensor, and every time I try to run a sum operation over...

bug
needs triage