xarray icon indicating copy to clipboard operation
xarray copied to clipboard

N-D labeled arrays and datasets in Python

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

Dask has a pretty nice guideline for type hinting, see https://github.com/dask/community/issues/255. Notable for us is to avoid adding typing in docstrings to avoid duplicating information.

topic-documentation
topic-typing

- [x] Closes #6838 - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` This PR hopefully improves how are handled...

topic-indexing

Hi all, I use the latest version of xarray (0.18) and I have some problems. Here are very simple examples: ```python velocity = xr.DataArray(7.3, name='velocity', attrs={'units':'m/s'}) elevation = xr.DataArray(3.5, name='elevation',...

topic-metadata

Hi folks, is there any simple way to iterate over all elements of an xarray together with its labels? What I am looking for is an equivalent to numpy's `nditer`...

- [x] Closes #5329 - [x] Tests added - [x] Passes `pre-commit run --all-files` - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [x] New...

### Is your feature request related to a problem? `apply_ufunc( func, *args, kwargs={kwargs})` I am using a vectorized function that takes as a kwarg either a numpy array of dew...

enhancement

**What happened**: In a Python environment with xarray 0.18.0 and python-netcdf4 installed, I called `xarray.open_dataset("nonexistent")`. (The file "nonexistent" does not exist.) xarray threw a `ValueError: cannot guess the engine, try...

bug
topic-backends

### Context By using `copy(deep=False)` custom operations may avoid copying large amounts of data but can modify, e.g., coord dicts: ```python tmp = da.copy(deep=False) del tmp.coords['abc'] # Use tmp ```...

enhancement

### What is your issue? I am increasingly thinking that automatic index-based alignment in Xarray (copied from pandas) may have been a design mistake. Almost every time I work with...

design question
topic-indexing
needs discussion

### What happened? When I select a single point (or regional subset) from a netcdf file and save as a new netcdf file, the newly saved file has an encoding...

bug
needs triage