xarray icon indicating copy to clipboard operation
xarray copied to clipboard

N-D labeled arrays and datasets in Python

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

#### Code Sample Using the following example data set: [example_jan.nc](https://github.com/MPAS-Dev/MPAS-Analysis/blob/develop/mpas_analysis/test/test_mpas_xarray/example_jan.nc) ```python #!/usr/bin/env python3 import xarray ds = xarray.open_mfdataset('example_jan.nc', concat_dim='Time') print(ds) ``` The result from xarray 0.10.2 (and all previous various...

bug
contrib-help-wanted
topic-combine

### Is your feature request related to a problem? I often store a few scalars or arrays in xarray containers. However, when I want to optionally address their data the...

enhancement
plan to close

In #4864 I added a a decorator for the `xarray.testing.assert_*` functions to ensure warnings that were to errors (`pytest.mark.filterwarnings("error")`) do not error in `assert_*` (see https://github.com/pydata/xarray/pull/4760#issuecomment-774101639). As a solution I...

### What is your issue? When using a dataset with multiple variables and using `Dataset.count("x")` it will return ones for variables that are missing dimension "x", e.g.: ```python import xarray...

bug
needs discussion

What would be the best way to canonically describe a dataset, which could be read by both humans and machines? For example, frequently in our code we have docstrings which...

topic-typing

### Is your feature request related to a problem? Often with xarray I find myself having to create a template Dataset or DataArray with dummy data in it just to...

enhancement
topic-typing

### What happened? I found myself using a netcdf with empty units and by using xarray i was unable to use open_dataset due to the parsing of cf conventions. I...

bug

**What happened**: Rechunking along an independent dimension causes unrelated non-dimension coordinates to become dask arrays. The dimension coordinates do not seem affected. I can stick in a synchronous compute on...

topic-dask

### What happened? The below code fails - I believe its because `_infer_interval_breaks` is applied asymmetrically when one coord is string. ### What did you expect to happen? Success. ###...

bug
topic-plotting

- [ ] Requires #4820 - [ ] Tests added - [ ] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in...

topic-plotting