Tom Nicholas

Results 182 issues of Tom Nicholas

### What happened? The workaround described in https://github.com/pydata/xarray/pull/8107#discussion_r1311214263 does not seem to work on `main`, meaning that I think there is currently no way to create an `xr.Coordinates` object without...

bug
topic-indexing

- [x] Closes #8701 - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` How might we want to move headers/sections around to take advantage of...

topic-documentation

### What is your issue? In https://github.com/fsspec/kerchunk/issues/377 the idea came up of using the xarray API to concatenate arrays which represent parts of a zarr store - i.e. using xarray...

bug
contrib-help-wanted
topic-internals
topic-indexing
topic-zarr
topic-combine
topic-lazy array
array API standard

### What happened? Vectorized indexing can fail for array types that strictly follow the array API standard. ### What did you expect to happen? Vectorized indexing to all work. ###...

bug
topic-arrays
array API standard

I just learned what [`collections.ChainMap`](https://docs.python.org/3/library/collections.html#collections.ChainMap) does, and one of the [examples](https://realpython.com/python-chainmap/#managing-default-argument-values) of its use is to manage overriding default keyword arguments, e.g. ```python from collections import ChainMap class CRMUser(User): def...

`Grid._ds` should drop any dimensions and variables it doesn't use, because they can cause problems later by being kept around. [This notebook shows the problem](https://gist.github.com/TomNicholas/6220da0a99df5a8778c2829fcd7d4ec0).

bug

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

[In this notebook](https://gist.github.com/TomNicholas/acbed2aa68658f4d9b87d798b35b5379) the time index gets silently dropped when the grid ufunc is applied. This behavior should be checked by xgcm in keep_coords and so on.

bug

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

docs

See https://xgcm.readthedocs.io/en/latest/transform.html#Conservative-Interpolation **What happened**: **What you expected to happen**: **Minimal Complete Verifiable Example**: ```python # Put your MCVE code here ``` **Anything else we need to know?**: **xgcm version and...

bug