Etienne Schalk

Results 16 issues of Etienne Schalk

### Proposed new feature or change: #### Motive The default dtype of array is platform-dependant. ( #9464 ) When running tests in a continuous integration context, that are ran on...

01 - Enhancement

- [ ] Closes #8760 ~~- [ ] Tests added~~ ~~- [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst`~~ ~~- [ ] New functions/methods are...

### What is your issue? ## Use `ruff` for formatting ### Context Ruff was introduced in https://github.com/pydata/xarray/issues/7458. Arguments in favor were that it is faster, and combines multiple tools in...

topic-internals

### What happened? Concrete example: let's say I am currently reading the documentation of [DataArray.resample](https://docs.xarray.dev/en/stable/generated/xarray.DataArray.resample.html). I would like to have a look at the internals and see the code directly...

bug
topic-documentation

### What is your issue? _Original issue: https://github.com/xarray-contrib/datatree/issues/280_ _Note: this issue description was generated from a [notebook](https://github.com/etienneschalk/datatree-experimentation/blob/main/notebooks/datatree-zarr.ipynb). You can use it to reproduce locally the bug._ # Lack of resilience...

bug
contrib-good-first-issue
topic-zarr

### What is your issue? Hi, TLDR: Is there a way to only run relevant CI checks (eg documentation) when a new commit is pushed on a PR's branch? The...

Automation

Small bugfix. I added a test reproducing the example in #309, and tests are not broken Note: In `_post_attach`, I set the private `_name` instead of setting the `name`. Indeed,...

- [x] Closes #311 - [x] Tests added - [x] Passes `pre-commit run --all-files` ~~- [ ] New functions/methods are listed in `api.rst`~~ - [ ] Changes are summarized in...

Try to instantiate a `DataTree`: `root = DataTree(name="root")` VSCode with Pylance will complain: ``` Type of "root" is partially unknown Type of "root" is "DataTree[Unknown]" Pylance[reportUnknownVariableType](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportUnknownVariableType) (variable) root: DataTree[Unknown] ```...

# When creating a DataTree from a Dataset with path-like variable, subgroups are expected to be created ```python from pathlib import Path import numpy as np import xarray as xr...