xarray
xarray copied to clipboard
N-D labeled arrays and datasets in Python
### What is your issue? When provided as a data variable, an astropy `Quantity` is kept as a `Quantity`. But when provided as an index through the `coords` argument when...
### Is your feature request related to a problem? [stack](https://docs.xarray.dev/en/latest/generated/xarray.Dataset.stack.html) lets a user skip creating a potentially expensive MultiIndex by passing `create_index=False`. ### Describe the solution you'd like We should...
**Is your feature request related to a problem? Please describe.** Concatenating xarray objects forces the data to load. I recently learned about this [object](https://github.com/pydata/xarray/blob/235b2e5bcec253ca6a85762323121d28c3b06038/xarray/core/indexing.py#L592) allowing lazy indexing into an DataArrays/sets...
### What happened? I ran a code in a script from long ago that uses `xr.open_dataset`, and I gave the script a path to a file that doesn't exist, and...
### What happened? If i have 2 datasets with the same set of coords but in different orders then `to_zarr` writes them to a file in that order, rather than...
### What happened? Interpolation of data arrays with time informatively errors: ```py # /// script # requires-python = ">=3.11" # dependencies = [ # "xarray[complete]@git+https://github.com/pydata/xarray.git@main", # ] # /// import...
### Is your feature request related to a problem? The [docs on for `dot`](https://docs.xarray.dev/en/stable/generated/xarray.dot.html#xarray.dot) do not mention how coordinates interact with dot. It is also not used in any examples....
### What happened? When writing a dataset to a zarr store, the time encoding is correctly stored and retrieved. However, when appending to an existing store, it is not possible...
- [ ] Closes #xxxx - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` Building on top of zarr-developers/zarr-python#3534, this...
### Is your feature request related to a problem? DataArray's argmin and argmax methods currently have a return type of `Self | dict[Hashable, Self]`. However, based on the argument provided...