issues
176 rows where state = "closed" and user = 14371165 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: comments, draft, created_at (date), updated_at (date), closed_at (date)
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at ▲ | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2236408438 | PR_kwDOAMm_X85sSjdN | 8926 | no untyped tests | Illviljan 14371165 | closed | 0 | 2 | 2024-04-10T20:52:29Z | 2024-04-14T16:15:45Z | 2024-04-14T16:15:45Z | MEMBER | 1 | pydata/xarray/pulls/8926 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
2232134629 | PR_kwDOAMm_X85sD5gg | 8922 | Add typing to some functions in indexing.py | Illviljan 14371165 | closed | 0 | 0 | 2024-04-08T21:45:30Z | 2024-04-10T18:05:52Z | 2024-04-10T18:05:52Z | MEMBER | 0 | pydata/xarray/pulls/8922 | A drive-by PR as I was trying to figure out how these functions works. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8922/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
2215113392 | PR_kwDOAMm_X85rJ3wR | 8889 | Add typing to test_plot.py | Illviljan 14371165 | closed | 0 | 0 | 2024-03-29T10:49:39Z | 2024-04-05T16:42:27Z | 2024-04-05T16:42:27Z | MEMBER | 0 | pydata/xarray/pulls/8889 | Enforce typing on all tests in |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
2215324218 | PR_kwDOAMm_X85rKmW7 | 8890 | Add typing to test_groupby.py | Illviljan 14371165 | closed | 0 | 1 | 2024-03-29T13:13:59Z | 2024-03-29T16:38:17Z | 2024-03-29T16:38:16Z | MEMBER | 0 | pydata/xarray/pulls/8890 | Enforce typing on all tests in |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8890/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
2203250238 | PR_kwDOAMm_X85qh2s8 | 8867 | Avoid in-place multiplication of a large value to an array with small integer dtype | Illviljan 14371165 | closed | 0 | 3 | 2024-03-22T20:22:22Z | 2024-03-29T15:26:38Z | 2024-03-29T15:26:38Z | MEMBER | 0 | pydata/xarray/pulls/8867 | Upstream numpy has become a bit more particular with which types you can use for inplace operations. This PR fixes ``` __ TestImshow.test_imshow_rgb_values_in_valid_range __ self = <xarray.tests.test_plot.TestImshow object at 0x7f88320c2780>
/home/runner/work/xarray/xarray/xarray/tests/test_plot.py:2034: /home/runner/work/xarray/xarray/xarray/plot/accessor.py:421: in imshow return dataarray_plot.imshow(self._da, args, kwargs) /home/runner/work/xarray/xarray/xarray/plot/dataarray_plot.py:1601: in newplotfunc primitive = plotfunc( /home/runner/work/xarray/xarray/xarray/plot/dataarray_plot.py:1853: in imshow alpha = 255 self = masked_array( data=[[[1], [1], [1], [1], [1]],
mask=False, fill_value=np.int64(999999), dtype=uint8) other = 255
/home/runner/micromamba/envs/xarray-tests/lib/python3.12/site-packages/numpy/ma/core.py:4415: UFuncTypeError ``` Some curious behaviors seen while debugging: ```python alpha = np.array([1], dtype=np.int8) alpha *= 255 repr(alpha) # 'array([-1], dtype=int8)' alpha = np.array([1], dtype=np.int16) alpha *= 255 repr(alpha) # 'array([255], dtype=int16)' ``` xref: #8844 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1718410975 | I_kwDOAMm_X85mbN7f | 7856 | Unrecognized chunk manager dask - must be one of: [] | Illviljan 14371165 | closed | 0 | 11 | 2023-05-21T08:07:57Z | 2024-03-27T19:09:18Z | 2023-05-24T16:26:20Z | MEMBER | What happened?I have just updated my development branch of xarray to latest main. No other changes.
When using What did you expect to happen?No crash Minimal Complete Verifiable Example```Python import numpy as np import pandas as pd import xarray as xr t_size = 8000 t = np.arange(t_size) var = xr.Variable(dims=("T",), data=np.random.randn(t_size)).chunk() ``` MVCE confirmation
Relevant log output```Python Traceback (most recent call last): File "C:\Users\J.W\AppData\Local\Temp\ipykernel_6480\4053253683.py", line 8, in <cell line: 8> var = xr.Variable(dims=("T",), data=np.random.randn(t_size)).chunk() File "C:\Users\J.W\Documents\GitHub\xarray\xarray\core\variable.py", line 1249, in chunk chunkmanager = guess_chunkmanager(chunked_array_type) File "C:\Users\J.W\Documents\GitHub\xarray\xarray\core\parallelcompat.py", line 87, in guess_chunkmanager raise ValueError( ValueError: unrecognized chunk manager dask - must be one of: [] ``` Anything else we need to know?Likely from #7019. Environment
xr.show_versions()
C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
INSTALLED VERSIONS
------------------
commit: None
python: 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:30:19) [MSC v.1929 64 bit (AMD64)]
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: en
LOCALE: ('Swedish_Sweden', '1252')
libhdf5: 1.12.2
libnetcdf: 4.8.1
xarray: 2022.9.1.dev266+gbd01f9cc.d20221006
pandas: 1.5.2
numpy: 1.23.5
scipy: 1.9.3
netCDF4: 1.6.0
pydap: installed
h5netcdf: 1.0.2
h5py: 3.7.0
Nio: None
zarr: 2.13.2
cftime: 1.6.2
nc_time_axis: 1.4.1
PseudoNetCDF: 3.2.2
iris: 3.3.0
bottleneck: 1.3.5
dask: 2022.9.2
distributed: 2022.9.2
matplotlib: 3.6.2
cartopy: 0.21.0
seaborn: 0.13.0.dev0
numbagg: 0.2.1
fsspec: 2022.10.0
cupy: None
pint: 0.19.2
sparse: 0.13.0
flox: 999
numpy_groupies: 0.9.14+22.g19c7601
setuptools: 65.5.1
pip: 22.3.1
conda: None
pytest: 7.2.0
mypy: 1.2.0
IPython: 7.33.0
sphinx: 5.3.0
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7856/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
2203493958 | PR_kwDOAMm_X85qiskT | 8868 | Try ruff lint for numpy 2.0 | Illviljan 14371165 | closed | 0 | 1 | 2024-03-22T23:31:04Z | 2024-03-22T23:34:11Z | 2024-03-22T23:33:03Z | MEMBER | 1 | pydata/xarray/pulls/8868 | { "url": "https://api.github.com/repos/pydata/xarray/issues/8868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | ||||||
962647570 | MDExOlB1bGxSZXF1ZXN0NzA1NDA2NDY0 | 5678 | Add typing to the OPTIONS dict | Illviljan 14371165 | closed | 0 | 11 | 2021-08-06T11:21:02Z | 2024-03-13T21:45:54Z | 2021-08-19T22:15:23Z | MEMBER | 0 | pydata/xarray/pulls/5678 | This adds typing to the dict values. Using variables as keys is apparently not permitted by mypy so that part has been removed. Attempts to fix issues found in #5662. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/5678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1684281101 | PR_kwDOAMm_X85PKWFR | 7787 | Allow the label run-upstream to run upstream CI | Illviljan 14371165 | closed | 0 | 6 | 2023-04-26T05:07:44Z | 2024-03-13T21:44:50Z | 2023-05-01T19:12:26Z | MEMBER | 0 | pydata/xarray/pulls/7787 | This PR makes it easier to trigger the upstream CI and creates a mypy test for upstream as well, but only when adding this label so that it doesn't mess with the scheduled runs and those results. Noticed the need in #7786. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7787/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1418830429 | PR_kwDOAMm_X85BT_a6 | 7194 | Align naming convention with plt.subplots | Illviljan 14371165 | closed | 0 | 1 | 2022-10-21T20:31:34Z | 2024-03-13T21:44:17Z | 2022-10-23T11:58:12Z | MEMBER | 0 | pydata/xarray/pulls/7194 | I noticed that the normal notation for |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7194/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
807939559 | MDExOlB1bGxSZXF1ZXN0NTczMDc1Mzkw | 4909 | Add dataarray scatter with 3d support | Illviljan 14371165 | closed | 0 | 12 | 2021-02-14T11:15:50Z | 2024-03-13T21:43:14Z | 2021-07-17T21:07:31Z | MEMBER | 0 | pydata/xarray/pulls/4909 |
Add scatter plots for dataarrays. Then later remove the dataset version and replace it with a thin wrapper in a similar fashion to #4820. New stuff:
- [x] Legend now displays colors and sizes in a similar fashion to Seaborn.
- [x] New parameter Example:
Using |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4909/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1474717029 | PR_kwDOAMm_X85EPeqM | 7353 | Add python 3.11 to CI | Illviljan 14371165 | closed | 0 | 9 | 2022-12-04T11:12:01Z | 2024-03-13T21:43:10Z | 2023-05-28T09:58:40Z | MEMBER | 1 | pydata/xarray/pulls/7353 | Waiting on: - https://github.com/numba/numba/issues/8304 - https://github.com/numba/numba/issues/8841 - https://github.com/zarr-developers/numcodecs/issues/377 - https://github.com/Unidata/netcdf4-python/issues/1204 - https://github.com/h5py/h5py/issues/2146
Feel free to push to this PR if you want. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7353/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1803788143 | PR_kwDOAMm_X85VdjgR | 7986 | Add new what's new section | Illviljan 14371165 | closed | 0 | 0 | 2023-07-13T21:29:01Z | 2024-03-13T21:43:09Z | 2023-07-13T21:30:07Z | MEMBER | 0 | pydata/xarray/pulls/7986 | Add a new what's new section |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7986/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1991435225 | PR_kwDOAMm_X85fV3DW | 8449 | Use concise date format when plotting | Illviljan 14371165 | closed | 0 | 2 | 2023-11-13T20:32:22Z | 2024-03-13T21:41:34Z | 2023-11-21T19:26:24Z | MEMBER | 0 | pydata/xarray/pulls/8449 |
```python import matplotlib.pyplot as plt import xarray as xr airtemps = xr.tutorial.open_dataset("air_temperature") air = airtemps.air - 273.15 air1d = air.isel(lat=10, lon=10) plt.figure()
air1d.plot()
```
Before:
After:
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8449/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1761952309 | PR_kwDOAMm_X85TQlL1 | 7925 | Remove hue_style from plot1d docstring | Illviljan 14371165 | closed | 0 | 9 | 2023-06-17T18:33:11Z | 2024-03-13T21:40:43Z | 2023-07-13T23:17:48Z | MEMBER | 0 | pydata/xarray/pulls/7925 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7925/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1797233538 | I_kwDOAMm_X85rH5uC | 7971 | Pint errors on python 3.11 and windows | Illviljan 14371165 | closed | 0 | 2 | 2023-07-10T17:44:51Z | 2024-02-26T17:52:50Z | 2024-02-26T17:52:50Z | MEMBER | What happened?The CI seems to consistently crash on |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7971/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1948928294 | PR_kwDOAMm_X85dGRAu | 8330 | Simplify get_axis_num | Illviljan 14371165 | closed | 0 | 2 | 2023-10-18T06:15:57Z | 2024-02-02T18:37:32Z | 2024-02-02T18:37:32Z | MEMBER | 1 | pydata/xarray/pulls/8330 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8330/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1916363233 | PR_kwDOAMm_X85bYe7b | 8241 | Use strict type hinting for namedarray | Illviljan 14371165 | closed | 0 | 4 | 2023-09-27T21:32:41Z | 2024-02-02T18:12:22Z | 2023-10-03T17:18:41Z | MEMBER | 0 | pydata/xarray/pulls/8241 | Towards the strict goal in #8239. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8241/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
2038570344 | PR_kwDOAMm_X85h1i2S | 8547 | Add overloads to get_axis_num | Illviljan 14371165 | closed | 0 | 14 | 2023-12-12T21:23:41Z | 2024-01-30T00:08:54Z | 2024-01-30T00:08:54Z | MEMBER | 0 | pydata/xarray/pulls/8547 | Add overloads to Seen in #8344. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8547/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
2034462507 | PR_kwDOAMm_X85hniLB | 8535 | Filter null values before plotting | Illviljan 14371165 | closed | 0 | 3 | 2023-12-10T17:31:27Z | 2023-12-13T15:44:55Z | 2023-12-13T15:44:55Z | MEMBER | 0 | pydata/xarray/pulls/8535 | I noticed that seaborn's plot was responding much faster than xarray's version with the same data. Turn's out seaborn drops any nulls: https://github.com/mwaskom/seaborn/blob/056413d7393e3daec597d430c076e45938d53376/seaborn/relational.py#L399
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8535/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
2034545604 | PR_kwDOAMm_X85hnyZ9 | 8538 | Check that compat is equal to identical only once in dataset concat | Illviljan 14371165 | closed | 0 | 1 | 2023-12-10T21:42:20Z | 2023-12-13T09:27:11Z | 2023-12-13T09:27:11Z | MEMBER | 0 | pydata/xarray/pulls/8538 | Small change to avoid triggering several if-checks unnecessarily. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8538/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1975221937 | PR_kwDOAMm_X85efDP6 | 8407 | Add expand_dims | Illviljan 14371165 | closed | 0 | 5 | 2023-11-03T00:01:22Z | 2023-12-12T20:54:45Z | 2023-12-01T18:52:11Z | MEMBER | 0 | pydata/xarray/pulls/8407 | This allows adding a dimension of an array. Which is relevant when for example using Normally you can do this with Should follow the standard but with an additional xref #8344, #8406 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8407/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1975173557 | PR_kwDOAMm_X85ee4vk | 8406 | Add getitem to array protocol | Illviljan 14371165 | closed | 0 | 0 | 2023-11-02T23:02:48Z | 2023-12-12T20:54:00Z | 2023-12-12T20:44:11Z | MEMBER | 0 | pydata/xarray/pulls/8406 | Currently using getitem is not allowed for either a arrayfunction or arrayapi according to the type hints. Add support for it. Issues found in #8344 as more and more typing was added. But getitem is used in main as well which should fail, but manages to pass due to lack of type hints: https://github.com/pydata/xarray/blob/9acc411bc7e99e61269eadf77e96b9ddd40aec9e/xarray/namedarray/core.py#L792 Notes
* mypy will now complain for https://github.com/numpy/numpy/pull/25022 https://github.com/data-apis/array-api/pull/687 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8406/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1936840711 | PR_kwDOAMm_X85cdvXs | 8294 | Use shape and dtype as typevars in NamedArray | Illviljan 14371165 | closed | 0 | 9 | 2023-10-11T05:08:32Z | 2023-12-12T20:41:29Z | 2023-10-18T06:22:52Z | MEMBER | 0 | pydata/xarray/pulls/8294 | Using a different TypeVar strategy compared to #8281. The idea here is to typevar shape and dtype instead, just like numpy does. Previously I tried to use the _data array as the TypeVar but that causes all kinds of issues since TypeVar is usually invariant and can't be updated to a new type. Since the dtype changes very frequently when doing array operations it quickly gets difficult to pass along the correct typing.
References: https://github.com/tomwhite/cubed/blob/ea885193dd37d27917a24878b51bb086aaef5fb1/cubed/core/ops.py#L34 https://stackoverflow.com/questions/74633074/how-to-type-hint-a-generic-numpy-array https://numpy.org/doc/stable/reference/arrays.scalars.html#scalars https://github.com/numpy/numpy/blob/040ed2dc9847265c581a342301dd87d2b518a3c2/numpy/init.pyi#L1423 https://github.com/numpy/numpy/blob/040ed2dc9847265c581a342301dd87d2b518a3c2/numpy/_typing/_array_like.py#L32 https://stackoverflow.com/questions/69186176/determine-if-subclass-has-a-base-classs-method-implemented-in-python |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8294/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1966953477 | PR_kwDOAMm_X85eC9NL | 8391 | Add duckarray test for np.array_api | Illviljan 14371165 | closed | 0 | 0 | 2023-10-29T11:37:29Z | 2023-12-06T22:30:04Z | 2023-10-31T03:05:23Z | MEMBER | 0 | pydata/xarray/pulls/8391 | Check if the Array object from numpy.array_api is a valid duckarray. If it isn't we're likely doing something wrong. Comments:
* array_api standard does not specify a Seen in #8344 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8391/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1971126897 | PR_kwDOAMm_X85eRLVH | 8396 | Test masked array | Illviljan 14371165 | closed | 0 | 0 | 2023-10-31T19:00:35Z | 2023-11-03T15:07:35Z | 2023-11-03T15:07:34Z | MEMBER | 0 | pydata/xarray/pulls/8396 | Add a test for masked array in order to make sure it works. Be consistent and use the shapetype dtype generics style instead. Starting to think it's easier to just stick to one style of typing, even though the other option might be a little shorter. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8396/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1971001432 | PR_kwDOAMm_X85eQvnS | 8395 | Correct typing for _sparsearray | Illviljan 14371165 | closed | 0 | 0 | 2023-10-31T17:50:47Z | 2023-10-31T19:28:49Z | 2023-10-31T19:28:49Z | MEMBER | 0 | pydata/xarray/pulls/8395 | Use _DType_co instead, otherwise the dtype wont be correctly passed along. Quick follow up to #8387. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8395/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1966603230 | PR_kwDOAMm_X85eB5WY | 8387 | Fix sparse typing | Illviljan 14371165 | closed | 0 | 0 | 2023-10-28T13:50:08Z | 2023-10-31T17:43:58Z | 2023-10-31T17:43:57Z | MEMBER | 0 | pydata/xarray/pulls/8387 | Fixes the following pyright error on main:
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8387/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1966902041 | PR_kwDOAMm_X85eCzIK | 8390 | Remove duplicated navigation_with_keys in docs config | Illviljan 14371165 | closed | 0 | 0 | 2023-10-29T08:52:56Z | 2023-10-29T11:08:33Z | 2023-10-29T11:08:33Z | MEMBER | 0 | pydata/xarray/pulls/8390 | Fixes: ``` Running Sphinx v6.2.1 Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/8387/lib/python3.10/site-packages/sphinx/config.py", line 353, in eval_config_file code = compile(f.read(), filename.encode(fs_encoding), 'exec') File "/home/docs/checkouts/readthedocs.org/user_builds/xray/checkouts/8387/doc/conf.py", line 240 navigation_with_keys=False, ^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: keyword argument repeated: navigation_with_keys The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/8387/lib/python3.10/site-packages/sphinx/cmd/build.py", line 280, in build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/8387/lib/python3.10/site-packages/sphinx/application.py", line 207, in init self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/8387/lib/python3.10/site-packages/sphinx/config.py", line 177, in read namespace = eval_config_file(filename, tags) File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/8387/lib/python3.10/site-packages/sphinx/config.py", line 357, in eval_config_file raise ConfigError(msg % err) from err sphinx.errors.ConfigError: There is a syntax error in your configuration file: keyword argument repeated: navigation_with_keys (conf.py, line 240) Configuration error: There is a syntax error in your configuration file: keyword argument repeated: navigation_with_keys (conf.py, line 240) Command time: 0s Return: 2 ``` Seen in #8387 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8390/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1966567753 | PR_kwDOAMm_X85eBydo | 8386 | Use get_args for duckarray checks | Illviljan 14371165 | closed | 0 | 1 | 2023-10-28T11:58:57Z | 2023-10-28T12:46:10Z | 2023-10-28T12:45:32Z | MEMBER | 1 | pydata/xarray/pulls/8386 | xref: #8376 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8386/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1962432308 | PR_kwDOAMm_X85dzwDL | 8376 | Add chunkedduckarray to _typing | Illviljan 14371165 | closed | 0 | 0 | 2023-10-25T23:09:46Z | 2023-10-26T19:10:41Z | 2023-10-26T01:13:54Z | MEMBER | 0 | pydata/xarray/pulls/8376 | Add more chunkedarray typing options. Also clean up some ideas that didn't work out. Using TypeVar for arrays for example has turned out to not work that great because of the very common dtype changes. If you want to check if an ArrayLike is a chunked array:
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8376/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1957838652 | PR_kwDOAMm_X85dkPUb | 8362 | NamedArray.ndim can only be int | Illviljan 14371165 | closed | 0 | 0 | 2023-10-23T19:02:48Z | 2023-10-23T19:04:14Z | 2023-10-23T19:04:14Z | MEMBER | 0 | pydata/xarray/pulls/8362 | ndim is usually defined as Reference: https://data-apis.org/array-api/latest/API_specification/generated/array_api.array.ndim.html |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8362/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1955651132 | PR_kwDOAMm_X85dc-58 | 8355 | Use namedarray repr in _array_api docstrings | Illviljan 14371165 | closed | 0 | 0 | 2023-10-21T20:20:31Z | 2023-10-22T04:50:30Z | 2023-10-22T00:52:03Z | MEMBER | 0 | pydata/xarray/pulls/8355 | Use the normal repr now that NamedArray has one. Seen in #8344. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8355/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1955654332 | PR_kwDOAMm_X85dc_gm | 8356 | Remove unnecessary for loop when using get_axis_num | Illviljan 14371165 | closed | 0 | 0 | 2023-10-21T20:33:37Z | 2023-10-22T04:50:16Z | 2023-10-22T00:49:39Z | MEMBER | 0 | pydata/xarray/pulls/8356 | Noticed an unnecessary for loop when playing around with |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8356/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1954723109 | PR_kwDOAMm_X85dZ9lj | 8352 | Add better ASV test cases for open_dataset | Illviljan 14371165 | closed | 0 | 0 | 2023-10-20T17:12:29Z | 2023-10-20T18:34:36Z | 2023-10-20T18:34:35Z | MEMBER | 0 | pydata/xarray/pulls/8352 | With more realistic array sizes maybe the improvements in #8339 should be noticeable. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8352/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1946069214 | PR_kwDOAMm_X85c8hTY | 8320 | Remove redundant check in IndexVariable | Illviljan 14371165 | closed | 0 | 0 | 2023-10-16T20:50:19Z | 2023-10-17T16:41:32Z | 2023-10-17T16:41:32Z | MEMBER | 0 | pydata/xarray/pulls/8320 | Reverts a few things from #8313. An IndexVariable can only have PandasIndexAdapter as self._data, which makes the for MemoryCachedArray unnecessary. Seen in #8294. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8320/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1944068053 | PR_kwDOAMm_X85c1sC5 | 8314 | Align MemoryCachedArray and PandasIndexingAdapter more | Illviljan 14371165 | closed | 0 | 1 | 2023-10-15T21:42:27Z | 2023-10-16T20:01:21Z | 2023-10-16T20:01:20Z | MEMBER | 0 | pydata/xarray/pulls/8314 | Seen in #8294. The issue is the IndexVariable, ExplicitlyIndexedNDArrayMixin lacks |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8314/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1944059054 | PR_kwDOAMm_X85c1qR0 | 8312 | Fix typing issues in tests | Illviljan 14371165 | closed | 0 | 1 | 2023-10-15T21:11:12Z | 2023-10-16T15:09:57Z | 2023-10-16T15:09:57Z | MEMBER | 0 | pydata/xarray/pulls/8312 | Seen in #8294. These tests implicitly made sure the type was correct in a way that type checkers wont understand. Make it explicit instead. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8312/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1944067022 | PR_kwDOAMm_X85c1r1z | 8313 | Reverse type checks for better type inheritance | Illviljan 14371165 | closed | 0 | 0 | 2023-10-15T21:38:59Z | 2023-10-16T06:30:55Z | 2023-10-16T06:30:55Z | MEMBER | 0 | pydata/xarray/pulls/8313 | Seen in #8294. It's usually better to switch if-checks so that the wider type is defined first. Especially when relying on the implicit type casting like we do here. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8313/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1944083743 | PR_kwDOAMm_X85c1vGB | 8315 | Handle numpy missing the array api function astype | Illviljan 14371165 | closed | 0 | 1 | 2023-10-15T22:32:17Z | 2023-10-16T06:25:20Z | 2023-10-16T06:25:19Z | MEMBER | 0 | pydata/xarray/pulls/8315 | This is how our get_array_namespace works: https://github.com/pydata/xarray/blob/dafd726c36e24ac77427513a4a149a6933353b66/xarray/core/duck_array_ops.py#L44-L48 Which usually works. But not for astype. Using np.array_api doesn't work because you have to use np.array_api.Array instead of np.ndarray: ```python import numpy.array_api as nxp nxp.astype(np.array([1, 2,]), np.dtype(float)) Traceback (most recent call last): File "C:\Users\J.W\AppData\Local\Temp\ipykernel_8616\23329947.py", line 1, in <cell line: 1> nxp.astype(np.array([1, 2,]), np.dtype(float)) File "C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\numpy\array_api_data_type_functions.py", line 20, in astype return Array._new(x._array.astype(dtype=dtype, copy=copy)) AttributeError: 'numpy.ndarray' object has no attribute '_array' ``` I found it simpler to just change astype here. An alternative solution would be to use: https://github.com/data-apis/array-api-compat https://github.com/tomwhite/cubed/pull/317 Seen in #8294. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8315/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1938790253 | PR_kwDOAMm_X85ckfW9 | 8295 | Remove real, imag, astype methods from NamedArray | Illviljan 14371165 | closed | 0 | 1 | 2023-10-11T21:44:26Z | 2023-10-13T15:58:07Z | 2023-10-13T15:58:06Z | MEMBER | 0 | pydata/xarray/pulls/8295 | These methods are not in the Array API. Instead convert the methods to functions in similar fashion as the array api. https://data-apis.org/array-api/latest/API_specification/index.html Not sure how to handle array compliant functions with an axis argument (max for example) but that's for a future PR. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8295/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1931329996 | PR_kwDOAMm_X85cK3Or | 8281 | Add high level from_array function in namedarray | Illviljan 14371165 | closed | 0 | 1 | 2023-10-07T12:19:23Z | 2023-10-10T17:10:37Z | 2023-10-10T17:10:37Z | MEMBER | 1 | pydata/xarray/pulls/8281 | The Idea is to avoid as much normalization in the NamedArray class as possible. Different types are handled before initializing instead.
References: https://github.com/tomwhite/cubed/blob/ea885193dd37d27917a24878b51bb086aaef5fb1/cubed/core/ops.py#L34 https://stackoverflow.com/questions/74633074/how-to-type-hint-a-generic-numpy-array https://numpy.org/doc/stable/reference/arrays.scalars.html#scalars https://github.com/numpy/numpy/blob/040ed2dc9847265c581a342301dd87d2b518a3c2/numpy/init.pyi#L1423 https://github.com/numpy/numpy/blob/040ed2dc9847265c581a342301dd87d2b518a3c2/numpy/_typing/_array_like.py#L32 Mypy issues: https://github.com/python/typing/issues/548 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1931220385 | PR_kwDOAMm_X85cKhhk | 8279 | Add pyright type checker | Illviljan 14371165 | closed | 0 | 5 | 2023-10-07T06:38:14Z | 2023-10-09T12:32:29Z | 2023-10-09T12:32:28Z | MEMBER | 0 | pydata/xarray/pulls/8279 | It can be helpful to get a second opinion from another typer checker than mypy. The CI activates when the |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8279/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1931223548 | PR_kwDOAMm_X85cKiKo | 8280 | Remove if condition to trigger mypy | Illviljan 14371165 | closed | 0 | 0 | 2023-10-07T06:49:18Z | 2023-10-08T00:49:34Z | 2023-10-08T00:49:34Z | MEMBER | 0 | pydata/xarray/pulls/8280 | This seems to be fixed according to #6551. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8280/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1916447957 | PR_kwDOAMm_X85bYxsO | 8243 | Add type hints to maybe_promote in dtypes.py | Illviljan 14371165 | closed | 0 | 0 | 2023-09-27T22:53:34Z | 2023-09-28T19:39:56Z | 2023-09-28T19:39:55Z | MEMBER | 0 | pydata/xarray/pulls/8243 | Reducing type errors in #8241 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8243/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1916331957 | PR_kwDOAMm_X85bYX4z | 8240 | Bind T_DuckArray to NamedArray | Illviljan 14371165 | closed | 0 | 1 | 2023-09-27T21:11:58Z | 2023-09-28T16:18:26Z | 2023-09-28T16:18:26Z | MEMBER | 0 | pydata/xarray/pulls/8240 | Binding allows typing the .data property. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8240/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1909448043 | PR_kwDOAMm_X85bBQuc | 8226 | Add typing to functions related to data_vars | Illviljan 14371165 | closed | 0 | 0 | 2023-09-22T19:54:22Z | 2023-09-24T14:03:55Z | 2023-09-24T14:03:55Z | MEMBER | 0 | pydata/xarray/pulls/8226 | A smaller PR related to trying to pass T_DuckArray's along xarray's different classes. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8226/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1901520970 | PR_kwDOAMm_X85amcNE | 8203 | Add T_DuckArray type hint to Variable.data | Illviljan 14371165 | closed | 0 | 3 | 2023-09-18T18:33:50Z | 2023-09-19T17:41:28Z | 2023-09-19T15:23:25Z | MEMBER | 0 | pydata/xarray/pulls/8203 | The typing of Variable.data has been the very wide This has led to confusion in downstream functions that uses This PR is a start at cleaning this up by defining a T_DuckArray typevar that symbolizes an array api compliant array. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8203/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1691206894 | I_kwDOAMm_X85kzcTu | 7802 | Mypy errors with matplotlib 3.8 | Illviljan 14371165 | closed | 0 | 6 | 2023-05-01T19:03:51Z | 2023-09-17T05:03:00Z | 2023-09-17T05:02:59Z | MEMBER | Matplotlib has started to support typing in main (https://github.com/matplotlib/matplotlib/issues/20504) and mypy is throwing a few errors:
```
xarray/core/options.py:12: error: Cannot assign to a type [misc]
xarray/core/options.py:12: error: Incompatible types in assignment (expression has type "Type[str]", variable has type "Type[Colormap]") [assignment]
xarray/plot/utils.py:808: error: Argument 1 to "set_xticks" of "_AxesBase" has incompatible type "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]"; expected "Iterable[float]" [arg-type]
xarray/plot/utils.py:810: error: Argument 1 to "set_yticks" of "_AxesBase" has incompatible type "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]"; expected "Iterable[float]" [arg-type]
xarray/plot/utils.py:813: error: Argument 1 to "set_xlim" of "_AxesBase" has incompatible type "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]"; expected "Union[float, Tuple[float, float], None]" [arg-type]
xarray/plot/utils.py:815: error: Argument 1 to "set_ylim" of "_AxesBase" has incompatible type "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]"; expected "Union[float, Tuple[float, float], None]" [arg-type]
Generated Cobertura report: /home/runner/work/xarray/xarray/mypy_report/cobertura.xml
Installing missing stub packages:
/home/runner/micromamba-root/envs/xarray-tests/bin/python -m pip install types-Pillow types-PyYAML types-Pygments types-babel types-colorama types-paramiko types-psutil types-pytz types-pywin32 types-setuptools types-urllib3
Generated Cobertura report: /home/runner/work/xarray/xarray/mypy_report/cobertura.xml
Found 154 errors in 10 files (checked 138 source files)
xarray/plot/utils.py:1349: error: Unsupported operand types for * ("_SupportsArray[dtype[Any]]" and "float") [operator]
xarray/plot/utils.py:1349: error: Unsupported operand types for * ("_NestedSequence[_SupportsArray[dtype[Any]]]" and "float") [operator]
xarray/plot/utils.py:1349: error: Unsupported operand types for * ("_NestedSequence[Union[bool, int, float, complex, str, bytes]]" and "float") [operator]
xarray/plot/utils.py:1349: note: Left operand is of type "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]"
xarray/plot/utils.py:1349: error: Unsupported operand types for * ("str" and "float") [operator]
xarray/plot/utils.py:1349: error: Unsupported operand types for * ("bytes" and "float") [operator]
xarray/plot/utils.py:1350: error: Item "_SupportsArray[dtype[Any]]" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1350: error: Item "_NestedSequence[_SupportsArray[dtype[Any]]]" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1350: error: Item "int" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1350: error: Item "float" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1350: error: Item "complex" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1350: error: Item "str" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1350: error: Item "bytes" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1350: error: Item "_NestedSequence[Union[bool, int, float, complex, str, bytes]]" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "_SupportsArray[dtype[Any]]" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "_NestedSequence[_SupportsArray[dtype[Any]]]" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "int" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "float" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "complex" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "str" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "bytes" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/utils.py:1351: error: Item "_NestedSequence[Union[bool, int, float, complex, str, bytes]]" of "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" has no attribute "mask" [union-attr]
xarray/plot/facetgrid.py:684: error: "FigureCanvasBase" has no attribute "get_renderer" [attr-defined]
xarray/plot/accessor.py:182: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:182: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/accessor.py:309: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:309: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/accessor.py:428: error: Overloaded function implementation cannot produce return type of signature 2 [misc]
xarray/plot/accessor.py:428: error: Overloaded function implementation cannot produce return type of signature 3 [misc]
xarray/plot/accessor.py:433: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:433: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/accessor.py:552: error: Overloaded function implementation cannot produce return type of signature 2 [misc]
xarray/plot/accessor.py:552: error: Overloaded function implementation cannot produce return type of signature 3 [misc]
xarray/plot/accessor.py:557: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:557: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/accessor.py:676: error: Overloaded function implementation cannot produce return type of signature 2 [misc]
xarray/plot/accessor.py:676: error: Overloaded function implementation cannot produce return type of signature 3 [misc]
xarray/plot/accessor.py:681: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:681: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/accessor.py:800: error: Overloaded function implementation cannot produce return type of signature 2 [misc]
xarray/plot/accessor.py:800: error: Overloaded function implementation cannot produce return type of signature 3 [misc]
xarray/plot/accessor.py:948: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:948: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/accessor.py:1075: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:1075: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/accessor.py:1190: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/accessor.py:1190: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataset_plot.py:324: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataset_plot.py:324: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataset_plot.py:478: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataset_plot.py:478: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "x" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "y" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "u" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "v" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "density" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "linewidth" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "color" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "cmap" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "norm" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "arrowsize" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "arrowstyle" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "minlength" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "transform" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "zorder" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "start_points" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "maxlength" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "integration_direction" [misc]
xarray/plot/dataset_plot.py:649: error: Function gets multiple values for keyword argument "broken_streamlines" [misc]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[float, Tuple[float, float]]" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[str, Colormap, None]" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[str, Normalize, None]" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "float" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[str, ArrowStyle]" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "Optional[Transform]" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "Optional[float]" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "Literal['forward', 'backward', 'both']" [arg-type]
xarray/plot/dataset_plot.py:649: error: Argument 1 has incompatible type "*List[ndarray[Any, Any]]"; expected "bool" [arg-type]
xarray/plot/dataset_plot.py:751: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataset_plot.py:751: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:718: error: Incompatible return value type (got "Tuple[Union[ndarray[Any, Any], List[ndarray[Any, Any]]], ndarray[Any, Any], Union[BarContainer, Polygon, List[Union[BarContainer, Polygon]]]]", expected "Tuple[ndarray[Any, Any], ndarray[Any, Any], BarContainer]") [return-value]
xarray/plot/dataarray_plot.py:996: error: "Axes" has no attribute "view_init" [attr-defined]
xarray/plot/dataarray_plot.py:1106: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:1106: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:1261: error: Argument 1 to "scatter" of "Axes" has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[Sequence[Union[Union[Tuple[float, float, float], str], Union[str, Tuple[float, float, float, float], Tuple[Union[Tuple[float, float, float], str], float], Tuple[Tuple[float, float, float, float], float]]]], Union[Union[Tuple[float, float, float], str], Union[str, Tuple[float, float, float, float], Tuple[Union[Tuple[float, float, float], str], float], Tuple[Tuple[float, float, float, float], float]]], None]" [arg-type]
xarray/plot/dataarray_plot.py:1261: error: Argument 1 to "scatter" of "Axes" has incompatible type "*List[ndarray[Any, Any]]"; expected "Optional[Union[str, Path, MarkerStyle]]" [arg-type]
xarray/plot/dataarray_plot.py:1261: error: Argument 1 to "scatter" of "Axes" has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[str, Colormap, None]" [arg-type]
xarray/plot/dataarray_plot.py:1261: error: Argument 1 to "scatter" of "Axes" has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[str, Normalize, None]" [arg-type]
xarray/plot/dataarray_plot.py:1261: error: Argument 1 to "scatter" of "Axes" has incompatible type "*List[ndarray[Any, Any]]"; expected "Optional[float]" [arg-type]
xarray/plot/dataarray_plot.py:1261: error: Argument 1 to "scatter" of "Axes" has incompatible type "*List[ndarray[Any, Any]]"; expected "Union[float, Sequence[float], None]" [arg-type]
xarray/plot/dataarray_plot.py:1615: error: "Axes" has no attribute "set_zlabel" [attr-defined]
xarray/plot/dataarray_plot.py:1655: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:1655: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:1874: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:1874: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:2010: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:2010: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:2146: error: Overloaded function signatures 1 and 2 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:2146: error: Overloaded function signatures 1 and 3 overlap with incompatible return types [misc]
xarray/plot/dataarray_plot.py:2464: error: "Axes" has no attribute "plot_surface" [attr-defined]
xarray/tests/test_plot.py:427: error: Value of type "Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]" is not indexable [index]
xarray/tests/test_plot.py:443: error: Module has no attribute "viridis" [attr-defined]
xarray/tests/test_plot.py:457: error: "None" not callable [misc]
xarray/tests/test_plot.py:462: error: "None" not callable [misc]
xarray/tests/test_plot.py:465: error: "None" not callable [misc]
xarray/tests/test_plot.py:471: error: Module has no attribute "viridis" [attr-defined]
xarray/tests/test_plot.py:477: error: Module has no attribute "viridis" [attr-defined]
xarray/tests/test_plot.py:482: error: Module has no attribute "viridis" [attr-defined]
xarray/tests/test_plot.py:486: error: Module has no attribute "viridis" [attr-defined]
xarray/tests/test_plot.py:493: error: "None" not callable [misc]
xarray/tests/test_plot.py:498: error: "None" not callable [misc]
xarray/tests/test_plot.py:501: error: "None" not callable [misc]
xarray/tests/test_plot.py:931: error: Module has no attribute "magma" [attr-defined]
xarray/tests/test_plot.py:933: error: Module has no attribute "magma" [attr-defined]
xarray/tests/test_plot.py:1173: error: Module has no attribute "RdBu" [attr-defined]
xarray/tests/test_plot.py:1746: error: Item "Colormap" of "Optional[Colormap]" has no attribute "colors" [union-attr]
xarray/tests/test_plot.py:1746: error: Item "None" of "Optional[Colormap]" has no attribute "colors" [union-attr]
xarray/tests/test_plot.py:1747: error: Item "Colormap" of "Optional[Colormap]" has no attribute "colors" [union-attr]
xarray/tests/test_plot.py:1747: error: Item "None" of "Optional[Colormap]" has no attribute "colors" [union-attr]
xarray/tests/test_plot.py:1749: error: Item "Colormap" of "Optional[Colormap]" has no attribute "_rgba_over" [union-attr]
xarray/tests/test_plot.py:1749: error: Item "None" of "Optional[Colormap]" has no attribute "_rgba_over" [union-attr]
xarray/tests/test_plot.py:1801: error: Item "None" of "Optional[ndarray[Any, Any]]" has no attribute "size" [union-attr]
xarray/tests/test_plot.py:1952: error: Item "None" of "Optional[ndarray[Any, Any]]" has no attribute "min" [union-attr]
xarray/tests/test_plot.py:1952: error: Item "None" of "Optional[ndarray[Any, Any]]" has no attribute "max" [union-attr]
xarray/tests/test_plot.py:1968: error: Item "None" of "Optional[ndarray[Any, Any]]" has no attribute "dtype" [union-attr]
xarray/tests/test_plot.py:1969: error: Value of type "Optional[ndarray[Any, Any]]" is not indexable [index]
xarray/tests/test_plot.py:2125: error: "Artist" has no attribute "get_clim" [attr-defined]
xarray/tests/test_plot.py:2135: error: "Colorbar" has no attribute "vmin" [attr-defined]
xarray/tests/test_plot.py:2136: error: "Colorbar" has no attribute "vmax" [attr-defined]
xarray/tests/test_plot.py:2202: error: "Artist" has no attribute "get_clim" [attr-defined]
xarray/tests/test_plot.py:2218: error: "Artist" has no attribute "norm" [attr-defined]
xarray/tests/test_plot.py:2747: error: Item "_AxesBase" of "Optional[_AxesBase]" has no attribute "legend_" [union-attr]
xarray/tests/test_plot.py:2747: error: Item "None" of "Optional[_AxesBase]" has no attribute "legend_" [union-attr]
xarray/tests/test_plot.py:2754: error: Item "None" of "Optional[_AxesBase]" has no attribute "get_legend" [union-attr]
xarray/tests/test_plot.py:2775: error: Item "None" of "Optional[FigureBase]" has no attribute "axes" [union-attr]
xarray/tests/test_plot.py:2775: error: Argument 1 to "len" has incompatible type "Union[_AxesBase, None, Any]"; expected "Sized" [arg-type]
xarray/tests/test_plot.py:2803: error: Module has no attribute "dates" [attr-defined]
xarray/tests/test_plot.py:2812: error: Module has no attribute "dates" [attr-defined]
xarray/tests/test_plot.py:2831: error: Item "None" of "Optional[_AxesBase]" has no attribute "xaxis" [union-attr]
xarray/tests/test_plot.py:2831: error: Module has no attribute "dates" [attr-defined]
xarray/tests/test_groupby.py:715: error: Argument 1 to "groupby" of "Dataset" has incompatible type "ndarray[Any, dtype[signedinteger[Any]]]"; expected "Union[Hashable, DataArray, IndexVariable]" [arg-type]
xarray/tests/test_groupby.py:715: note: Following member(s) of "ndarray[Any, dtype[signedinteger[Any]]]" have conflicts:
xarray/tests/test_groupby.py:715: note: __hash__: expected "Callable[[], int]", got "None"
xarray/tests/test_dataset.py:6964: error: "PlainQuantity[Any]" not callable [operator]
xarray/tests/test_dataset.py:6965: error: "PlainQuantity[Any]" not callable [operator]
xarray/tests/test_dataset.py:7007: error: "PlainQuantity[Any]" not callable [operator]
xarray/tests/test_dataset.py:7008: error: "PlainQuantity[Any]" not callable [operator]
xarray/tests/test_dataarray.py:6687: error: "PlainQuantity[Any]" not callable [operator]
xarray/tests/test_dataarray.py:6689: error: "PlainQuantity[Any]" not callable [operator]
xarray/tests/test_dataarray.py:6735: error: "PlainQuantity[Any]" not callable [operator]
xarray/tests/test_dataarray.py:6737: error: "PlainQuantity[Any]" not callable [operator]
```
Some guidance how to solve these:
Originally posted by @ksunden in https://github.com/pydata/xarray/issues/7787#issuecomment-1523743471
Originally posted by @ksunden in https://github.com/pydata/xarray/issues/7787#issuecomment-1528091492
Originally posted by @tacaswell in https://github.com/pydata/xarray/issues/7787#issuecomment-1528096647 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1890927857 | PR_kwDOAMm_X85aC50x | 8172 | Don't try to sort hashable, map to string | Illviljan 14371165 | closed | 0 | 0 | 2023-09-11T17:10:22Z | 2023-09-11T18:09:15Z | 2023-09-11T18:09:15Z | MEMBER | 0 | pydata/xarray/pulls/8172 | Fixes the mypy error we're seeing in the CI at the moment:
Can't sort Hashables apparently. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8172/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1797246423 | PR_kwDOAMm_X85VHLJ1 | 7972 | Skip broken tests on Python 3.11 and Windows | Illviljan 14371165 | closed | 0 | 0 | 2023-07-10T17:54:54Z | 2023-07-10T18:54:38Z | 2023-07-10T18:54:38Z | MEMBER | 0 | pydata/xarray/pulls/7972 | Temporally skip tests in order to make CI pass again, the troublesome tests are reported in #7971. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7972/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1795519181 | I_kwDOAMm_X85rBXLN | 7969 | Upstream CI is failing | Illviljan 14371165 | closed | 0 | 2 | 2023-07-09T18:51:41Z | 2023-07-10T17:34:12Z | 2023-07-10T17:33:12Z | MEMBER | What happened?The upstream CI has been failing for a while. Here's the latest: https://github.com/pydata/xarray/actions/runs/5501368493/jobs/10024902009#step:7:16
Digging a little in the logs ``` Installing build dependencies: started Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [3 lines of output] Looking in indexes: https://pypi.anaconda.org/scipy-wheels-nightly/simple ERROR: Could not find a version that satisfies the requirement meson-python==0.13.1 (from versions: none) ERROR: No matching distribution found for meson-python==0.13.1 [end of output] ``` Might be some numpy problem? Should the CI be robust enough to handle these kinds of errors? Because I suppose we would like to get the automatic issue created anyway? |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7969/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1797186226 | PR_kwDOAMm_X85VG-Nj | 7970 | Use another repository for upstream testing | Illviljan 14371165 | closed | 0 | 2 | 2023-07-10T17:10:55Z | 2023-07-10T17:33:11Z | 2023-07-10T17:33:11Z | MEMBER | 0 | pydata/xarray/pulls/7970 | Use https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/ instead.
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7970/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1795424047 | PR_kwDOAMm_X85VBAF6 | 7968 | Move absolute path finder from open_mfdataset to own function | Illviljan 14371165 | closed | 0 | 2 | 2023-07-09T14:24:38Z | 2023-07-10T14:04:06Z | 2023-07-10T14:04:05Z | MEMBER | 0 | pydata/xarray/pulls/7968 | A simple refactor to make it easier to retrieve the proper paths that I've been thinking how to make use of DataTree and one idea I wanted to try was:
* Open file (using |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7968/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1699099029 | PR_kwDOAMm_X85P8IoD | 7824 | Improve concat performance | Illviljan 14371165 | closed | 0 | 1 | 2023-05-07T14:54:06Z | 2023-06-02T14:36:11Z | 2023-06-02T14:36:11Z | MEMBER | 0 | pydata/xarray/pulls/7824 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7824/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1710752209 | PR_kwDOAMm_X85QjIMH | 7844 | Improve to_dask_dataframe performance | Illviljan 14371165 | closed | 0 | 1 | 2023-05-15T20:08:24Z | 2023-05-25T20:08:54Z | 2023-05-25T20:08:54Z | MEMBER | 0 | pydata/xarray/pulls/7844 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1718427036 | PR_kwDOAMm_X85Q88zP | 7857 | Avoid explicit loop when updating OrderedSet | Illviljan 14371165 | closed | 0 | 0 | 2023-05-21T09:06:58Z | 2023-05-25T20:08:35Z | 2023-05-25T20:08:34Z | MEMBER | 0 | pydata/xarray/pulls/7857 | Following recommendation from: https://github.com/pydata/xarray/pull/7824#discussion_r1196114696 ```python main:a = tuple(f"dim_{i}" for i in range(500)) %timeit OrderedSet(a) 46 µs ± 2.26 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) This PR:a = tuple(f"dim_{i}" for i in range(500)) %timeit OrderedSet(a) 28.9 µs ± 476 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7857/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1718477599 | PR_kwDOAMm_X85Q9G1M | 7858 | Add type hints to test_dtypes | Illviljan 14371165 | closed | 0 | 0 | 2023-05-21T12:00:26Z | 2023-05-21T12:30:18Z | 2023-05-21T12:30:18Z | MEMBER | 0 | pydata/xarray/pulls/7858 | Split out from #7858. Improve mypy coverage in order to understand better what the functions are actually used for. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1710742907 | PR_kwDOAMm_X85QjGIu | 7843 | Improve interp performance | Illviljan 14371165 | closed | 0 | 0 | 2023-05-15T20:02:25Z | 2023-05-18T18:54:15Z | 2023-05-18T18:54:15Z | MEMBER | 0 | pydata/xarray/pulls/7843 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1697987899 | PR_kwDOAMm_X85P4g05 | 7820 | Pin pint to 0.20 | Illviljan 14371165 | closed | 0 | 1 | 2023-05-05T17:59:40Z | 2023-05-06T07:27:28Z | 2023-05-06T07:27:28Z | MEMBER | 0 | pydata/xarray/pulls/7820 | Newest pint crashes our tests for some reason, pin it for now.
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1691458797 | PR_kwDOAMm_X85PiT3U | 7804 | Test asv ci | Illviljan 14371165 | closed | 0 | 0 | 2023-05-01T21:54:07Z | 2023-05-01T22:24:14Z | 2023-05-01T22:24:14Z | MEMBER | 1 | pydata/xarray/pulls/7804 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1665260014 | PR_kwDOAMm_X85OK8Yp | 7752 | Fix typing errors using mypy 1.2 | Illviljan 14371165 | closed | 0 | 2 | 2023-04-12T21:08:31Z | 2023-04-15T18:31:58Z | 2023-04-15T18:31:57Z | MEMBER | 0 | pydata/xarray/pulls/7752 | Fixes typing errors when using newest mypy version.
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7752/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1638243008 | PR_kwDOAMm_X85MxepP | 7668 | Pull Request Labeler - Use a released version | Illviljan 14371165 | closed | 0 | 1 | 2023-03-23T20:18:49Z | 2023-03-23T20:29:04Z | 2023-03-23T20:29:04Z | MEMBER | 0 | pydata/xarray/pulls/7668 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1638194068 | PR_kwDOAMm_X85MxT6K | 7667 | Pull Request Labeler - Undo workaround sync-labels bug | Illviljan 14371165 | closed | 0 | 3 | 2023-03-23T19:45:31Z | 2023-03-23T20:25:47Z | 2023-03-23T20:23:03Z | MEMBER | 0 | pydata/xarray/pulls/7667 | Seems https://github.com/actions/labeler/issues/112 is fixed. So using false should work. xref: #7431 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7667/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1125040125 | I_kwDOAMm_X85DDr_9 | 6244 | Get pyupgrade to update the typing | Illviljan 14371165 | closed | 0 | 2 | 2022-02-05T21:56:56Z | 2023-03-12T15:38:37Z | 2023-03-12T15:38:37Z | MEMBER | Is your feature request related to a problem?Use more up-to-date typing styles on all files. Will reduce number of imports and avoids big diffs when doing relatively minor changes because pre-commit/pyupgrade has been triggered somehow. Related to #6240 Describe the solution you'd likeAdd Describe alternatives you've consideredNo response Additional contextNo response |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6244/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1444440024 | PR_kwDOAMm_X85CpkQO | 7277 | Require to explicitly defining optional dimensions such as hue and markersize | Illviljan 14371165 | closed | 0 | 5 | 2022-11-10T19:23:28Z | 2023-02-11T20:55:16Z | 2023-02-11T20:55:16Z | MEMBER | 0 | pydata/xarray/pulls/7277 |
The plot1d function now follows closer to seaborns example and require explicitly defining optional dimensions such as hue/markersize. Positives and negatives: +++ Reliable performance, won't accidentally choose large and heavy arrays to plot. - Loss of dimension information for default values, will essentially flatten the n-dimensional arrays. - Other xarray plot functions guesses quite a bit as well, API is not consistent. Required dimensions like the x-axis will still be guessed since the mpl errors weren't very intuitive. While at it:
* Make it possible to prioritize certain mpl kwargs when hue/markersize isn't defined.
* Fix integer coords in |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7277/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1462470712 | PR_kwDOAMm_X85DmbNT | 7318 | Use plt.rc_context for default styles | Illviljan 14371165 | closed | 0 | 2 | 2022-11-23T22:11:23Z | 2023-02-09T12:56:00Z | 2023-02-09T12:56:00Z | MEMBER | 0 | pydata/xarray/pulls/7318 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7318/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1554036799 | PR_kwDOAMm_X85IYHUz | 7472 | Avoid in-memory broadcasting when converting to_dask_dataframe | Illviljan 14371165 | closed | 0 | 1 | 2023-01-24T00:15:01Z | 2023-01-26T17:00:24Z | 2023-01-26T17:00:23Z | MEMBER | 0 | pydata/xarray/pulls/7472 | Turns out that there's a call to
Debugging script:
```python
import dask.array as da
import xarray as xr
import numpy as np
chunks = 5000
# I have to restart the pc if running with this:
# dim1_sz = 100_000
# dim2_sz = 100_000
# Does not crash when using the following constants, >5 gig RAM increase though:
dim1_sz = 40_000
dim2_sz = 40_000
x = da.random.random((dim1_sz, dim2_sz), chunks=chunks)
ds = xr.Dataset(
{
"x": xr.DataArray(
data=x,
dims=["dim1", "dim2"],
coords={"dim1": np.arange(0, dim1_sz), "dim2": np.arange(0, dim2_sz)},
)
}
)
# with dask.config.set(**{"array.slicing.split_large_chunks": True}):
df = ds.to_dask_dataframe()
print(df)
```
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7472/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1555497796 | PR_kwDOAMm_X85Ic_wm | 7474 | Add benchmarks for to_dataframe and to_dask_dataframe | Illviljan 14371165 | closed | 0 | 1 | 2023-01-24T18:48:26Z | 2023-01-24T21:00:39Z | 2023-01-24T20:13:30Z | MEMBER | 0 | pydata/xarray/pulls/7474 | Related to #7472. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7474/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1490160140 | PR_kwDOAMm_X85FGOVk | 7374 | Improve performance for backend datetime handling | Illviljan 14371165 | closed | 0 | 3 | 2022-12-11T16:01:05Z | 2023-01-18T22:45:36Z | 2023-01-13T14:50:53Z | MEMBER | 0 | pydata/xarray/pulls/7374 | Was hunting some low-hanging performance fruits when reading in files.
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7374/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1318800553 | I_kwDOAMm_X85Om0yp | 6833 | Require a pull request before merging to main | Illviljan 14371165 | closed | 0 | 4 | 2022-07-26T22:09:55Z | 2023-01-13T16:51:03Z | 2023-01-13T16:51:03Z | MEMBER | Is your feature request related to a problem?I was making sure the test in #6832 failed on main, when it did I wrote a few lines in the Describe the solution you'd likeI think it's best if we require a pull request for merging. We seem to pretty much do this anyway. Seems to be this setting if I understand correctly:
Describe alternatives you've consideredNo response Additional contextNo response |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6833/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1523232313 | PR_kwDOAMm_X85G2q5I | 7426 | Add lazy backend ASV test | Illviljan 14371165 | closed | 0 | 1 | 2023-01-06T22:01:26Z | 2023-01-12T16:00:05Z | 2023-01-11T18:56:25Z | MEMBER | 0 | pydata/xarray/pulls/7426 | This tests xr.open_dataset without any slow file reading that can quickly become the majority of the performance time. Related to #7374. Timings for the new ASV-tests: ``` [ 50.85%] ··· dataset_io.IOReadCustomEngine.time_open_dataset ok
[ 50.85%] ··· ======== ============
chunks |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7426/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1528100871 | PR_kwDOAMm_X85HG6Hh | 7431 | Pull Request Labeler - Workaround sync-labels bug | Illviljan 14371165 | closed | 0 | 2 | 2023-01-10T22:29:03Z | 2023-01-10T23:10:32Z | 2023-01-10T23:06:14Z | MEMBER | 0 | pydata/xarray/pulls/7431 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7431/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1420242462 | PR_kwDOAMm_X85BYlCD | 7204 | absolufy-imports - No relative imports - PEP8 | Illviljan 14371165 | closed | 0 | 6 | 2022-10-24T05:27:24Z | 2022-12-10T11:42:43Z | 2022-12-07T21:24:44Z | MEMBER | 0 | pydata/xarray/pulls/7204 | I saw dask has started using absolute imports in https://github.com/dask/dask/pull/8796. I find it much more readable and there's a nice pre-commit for it as well. Easiest way to deal with the merge conflicts is probably to just accept your changes and let pre-commit fix them afterwards. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7204/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1485474624 | PR_kwDOAMm_X85E1fDn | 7370 | absolufy-imports - Only in xarray folder | Illviljan 14371165 | closed | 0 | 1 | 2022-12-08T21:57:58Z | 2022-12-10T11:42:32Z | 2022-12-09T16:55:12Z | MEMBER | 0 | pydata/xarray/pulls/7370 | This reverts some of commit 6e77f5e8942206b3e0ab08c3621ade1499d8235b and #7204. Apparently using it on all folders is not a good idea, follow pandas example. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7370/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1462833576 | PR_kwDOAMm_X85Dnp5w | 7319 | mypy - Remove some ignored packages and modules | Illviljan 14371165 | closed | 0 | 4 | 2022-11-24T06:34:13Z | 2022-11-26T15:39:12Z | 2022-11-26T15:39:11Z | MEMBER | 0 | pydata/xarray/pulls/7319 | dask has added py.typed files so now the ignores shouldn't be needed anymore: https://github.com/dask/dask/pull/8854 https://github.com/dask/distributed/pull/5328 As does numpy and pint pycompat.py doesn't error anymore, so it's good to type check that one as well. Fixed also a python 3.8 related error in it. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7319/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1447049720 | PR_kwDOAMm_X85CyQio | 7285 | Switch to T_DataArray in .coords | Illviljan 14371165 | closed | 0 | 3 | 2022-11-13T19:22:35Z | 2022-11-23T17:48:25Z | 2022-11-22T17:02:09Z | MEMBER | 0 | pydata/xarray/pulls/7285 | .coords were still using DataArray types switch to T_DataArray instead.
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7285/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1457017483 | PR_kwDOAMm_X85DTsQq | 7303 | Add mypy version to xr.show_versions | Illviljan 14371165 | closed | 0 | 0 | 2022-11-20T19:27:20Z | 2022-11-21T21:33:15Z | 2022-11-21T21:33:15Z | MEMBER | 0 | pydata/xarray/pulls/7303 | It's a little tricky getting the mypy version, so adding it to the show_versions function as well. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7303/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1452339775 | PR_kwDOAMm_X85DEC8r | 7296 | Fix some typing errors in DuckArrayModule | Illviljan 14371165 | closed | 0 | 4 | 2022-11-16T22:07:00Z | 2022-11-20T18:52:12Z | 2022-11-20T10:18:53Z | MEMBER | 0 | pydata/xarray/pulls/7296 | Fixes these errors that I've been seeing locally for a while:
Not sure why the CI isn't catching these? |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7296/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1445870847 | PR_kwDOAMm_X85CuWCd | 7281 | Use a default value for constant dimensions | Illviljan 14371165 | closed | 0 | 1 | 2022-11-11T18:41:16Z | 2022-11-20T09:59:38Z | 2022-11-20T09:59:38Z | MEMBER | 0 | pydata/xarray/pulls/7281 |
With main we get 18 for constant arrays, but 36 if markersize was undefined. This seems a bit inconsistent to me. This PR adds a default value instead for constant arrays Follow up to #7272. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7281/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1440711212 | PR_kwDOAMm_X85Cc31j | 7272 | Handle division by zero in _Normalize._calc_widths | Illviljan 14371165 | closed | 0 | 1 | 2022-11-08T18:35:55Z | 2022-11-11T06:27:50Z | 2022-11-11T06:27:50Z | MEMBER | 0 | pydata/xarray/pulls/7272 | Found an issue when constant values was used. Now if constant values are found it'll default to the minimum width value instead. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7272/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1420230433 | PR_kwDOAMm_X85BYia0 | 7203 | Avoid loading any data for reprs | Illviljan 14371165 | closed | 0 | 6 | 2022-10-24T05:12:40Z | 2022-10-28T16:23:19Z | 2022-10-28T16:23:19Z | MEMBER | 0 | pydata/xarray/pulls/7203 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7203/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1422869912 | PR_kwDOAMm_X85BhYOh | 7219 | Explicitly remove grids for pcolormesh | Illviljan 14371165 | closed | 0 | 0 | 2022-10-25T18:04:14Z | 2022-10-28T16:22:53Z | 2022-10-28T16:22:53Z | MEMBER | 0 | pydata/xarray/pulls/7219 | Removes a warning in the plotting tests, related to https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.5.0.html#auto-removal-of-grids-by-pcolor-and-pcolormesh. I just added ```python import xarray as xr airtemps = xr.tutorial.open_dataset("air_temperature") air = airtemps.air - 273.15 air.attrs = airtemps.air.attrs air.attrs["units"] = "deg C" air2d = air.isel(time=500) fig, axs = plt.subplots(2,1) air2d.plot(ax=axs[0]) # No grid. air2d.plot(ax=axs[1]) # With grid. axs[1].grid(True) ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7219/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1422864082 | PR_kwDOAMm_X85BhW94 | 7218 | Rename FacetGrid.axes to FacetGrid.axs in tests | Illviljan 14371165 | closed | 0 | 1 | 2022-10-25T17:59:39Z | 2022-10-27T17:45:20Z | 2022-10-27T17:45:19Z | MEMBER | 0 | pydata/xarray/pulls/7218 | Follow up to #7194. This fixes all the warnings related to the change. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7218/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1376776178 | I_kwDOAMm_X85SD-_y | 7049 | Backend entrypoints not public? | Illviljan 14371165 | closed | 0 | 0 | 2022-09-17T13:41:13Z | 2022-10-26T16:01:06Z | 2022-10-26T16:01:06Z | MEMBER | What is your issue?As I've understood it ```python The available engines:xr.backends.list_engines() Out[23]: {'netcdf4': <xarray.backends.netCDF4_.NetCDF4BackendEntrypoint object at 0x00000296D05D11F0>, 'h5netcdf': <xarray.backends.h5netcdf_.H5netcdfBackendEntrypoint object at 0x00000296D05D14C0>, 'scipy': <xarray.backends.scipy_.ScipyBackendEntrypoint object at 0x00000296D05D11C0>, 'pseudonetcdf': <xarray.backends.pseudonetcdf_.PseudoNetCDFBackendEntrypoint object at 0x00000296D05D1430>, 'pydap': <xarray.backends.pydap_.PydapBackendEntrypoint object at 0x00000296D05D1310>, 'store': <xarray.backends.store.StoreBackendEntrypoint object at 0x00000296D05D1340>, 'zarr': <xarray.backends.zarr.ZarrBackendEntrypoint object at 0x00000296D05D12E0>} The public class is ZarrStore instead of ZarrBackendEntrypoint, how come?dir(xr.backends) Out[22]: ['AbstractDataStore', 'BackendArray', 'BackendEntrypoint', 'CachingFileManager', 'CfGribDataStore', 'DummyFileManager', 'FileManager', 'H5NetCDFStore', 'InMemoryDataStore', 'NetCDF4DataStore', 'NioDataStore', 'PseudoNetCDFDataStore', 'PydapDataStore', 'ScipyDataStore', 'ZarrStore', 'all', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'api', 'cfgrib_', 'common', 'file_manager', 'h5netcdf_', 'list_engines', 'locks', 'lru_cache', 'memory', 'netCDF4_', 'netcdf3', 'plugins', 'pseudonetcdf_', 'pydap_', 'pynio_', 'rasterio_', 'scipy_', 'store', 'zarr'] ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7049/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
1419534239 | PR_kwDOAMm_X85BWS-T | 7196 | Remove rasterio tutorial test | Illviljan 14371165 | closed | 0 | 0 | 2022-10-22T22:30:41Z | 2022-10-23T11:57:36Z | 2022-10-23T11:57:36Z | MEMBER | 0 | pydata/xarray/pulls/7196 | This test has been quite troublesome and since |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7196/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1410526253 | PR_kwDOAMm_X85A4Bki | 7169 | Rework docs about scatter plots | Illviljan 14371165 | closed | 0 | 1 | 2022-10-16T15:37:25Z | 2022-10-17T13:40:01Z | 2022-10-17T13:40:01Z | MEMBER | 0 | pydata/xarray/pulls/7169 | Show off some more possibilities with the scatter plot. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7169/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1410432571 | PR_kwDOAMm_X85A3v7B | 7167 | Fix some scatter plot issues | Illviljan 14371165 | closed | 0 | 2 | 2022-10-16T09:38:05Z | 2022-10-17T13:39:31Z | 2022-10-17T13:39:31Z | MEMBER | 0 | pydata/xarray/pulls/7167 | Fix some issues with scatter plots:
* Always use markersize widths for scatter.
* Fix issue with xref: #6778 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7167/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1302483271 | PR_kwDOAMm_X847SWhZ | 6778 | Add dataarray scatter | Illviljan 14371165 | closed | 0 | 4 | 2022-07-12T18:44:29Z | 2022-10-07T19:37:18Z | 2022-10-07T15:43:29Z | MEMBER | 0 | pydata/xarray/pulls/6778 | Splitting up #5622 as the scope of it has grown too large now.
TODO: * sharex sharey test https://github.com/pydata/xarray/pull/7047: len(list(ax.get_shared_x_axes())) != 0
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1386416145 | PR_kwDOAMm_X84_n-Xi | 7082 | Clearer variable names in FacetGrid._set_lims | Illviljan 14371165 | closed | 0 | 0 | 2022-09-26T16:52:41Z | 2022-09-26T20:50:18Z | 2022-09-26T20:50:18Z | MEMBER | 0 | pydata/xarray/pulls/7082 |
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7082/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1376126962 | PR_kwDOAMm_X84_G-4G | 7046 | Add helper for setting axis limits in facetgrid | Illviljan 14371165 | closed | 0 | 3 | 2022-09-16T15:47:17Z | 2022-09-26T16:54:04Z | 2022-09-25T15:29:01Z | MEMBER | 0 | pydata/xarray/pulls/7046 | This PR adds a helper method that sets the same axis limits for all plots in a facetgrid. Helpful when * wanting specific limits for all plots. * you want to make sure all data is visible by simply using the method without any inputs. Which is not certain if sharex/sharey isn't used, relevant when using 3d plots as they don't work. Split up from #6778. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7046/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1376156646 | PR_kwDOAMm_X84_HFMo | 7047 | Set sharex/sharey to False if using 3d plots | Illviljan 14371165 | closed | 0 | 4 | 2022-09-16T16:16:57Z | 2022-09-25T15:33:29Z | 2022-09-25T15:33:29Z | MEMBER | 0 | pydata/xarray/pulls/7047 | Matplotlibs 3d plots appears to not support sharex/sharey. So reset to default values instead. This improves the look of the plot as axis values aren't deleted. Example: ```python import matplotlib.pyplot as plt fig = plt.figure() subplot_kws = {"projection":"3d"} ax1 = fig.add_subplot(211, subplot_kws) ax1.plot([0, 1, 2], [5,6,6]) ax2 = fig.add_subplot(212, sharex = ax1, subplot_kws) ax2.plot([0, 1, 2], [5,4,2]) # x axis is not linked. ``` Split up from #6778. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7047/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1342259638 | PR_kwDOAMm_X849WYHD | 6926 | Use micromamba in ASV benchmark workflow | Illviljan 14371165 | closed | 0 | 0 | 2022-08-17T20:27:44Z | 2022-09-24T09:15:38Z | 2022-09-24T09:15:38Z | MEMBER | 0 | pydata/xarray/pulls/6926 | These changes should hopefully yield some performance improvements. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6926/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1376095009 | PR_kwDOAMm_X84_G4FM | 7044 | Self should be Any | Illviljan 14371165 | closed | 0 | 6 | 2022-09-16T15:18:21Z | 2022-09-23T18:56:40Z | 2022-09-16T15:54:54Z | MEMBER | 0 | pydata/xarray/pulls/7044 | Self should be as permissive as possible until it works properly. Using xref: #6923 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/7044/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1340745375 | PR_kwDOAMm_X849RXXN | 6923 | Add Self in xarray.core.types | Illviljan 14371165 | closed | 0 | 1 | 2022-08-16T18:48:15Z | 2022-08-22T12:24:05Z | 2022-08-22T12:24:05Z | MEMBER | 0 | pydata/xarray/pulls/6923 | Adds Wont really become useful until https://github.com/python/mypy/issues/11871 is fixed. But it can be used with pyright at least. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6923/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1339604345 | PR_kwDOAMm_X849Nkuh | 6918 | Generalize set_(x, y, z)labels in facetgrids | Illviljan 14371165 | closed | 0 | 0 | 2022-08-15T22:45:15Z | 2022-08-17T17:33:19Z | 2022-08-17T17:21:40Z | MEMBER | 0 | pydata/xarray/pulls/6918 | Prepare to be able to use a |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6918/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1339578605 | PR_kwDOAMm_X849NfsN | 6917 | Reuse total width calculation | Illviljan 14371165 | closed | 0 | 0 | 2022-08-15T22:21:31Z | 2022-08-15T22:40:06Z | 2022-08-15T22:40:06Z | MEMBER | 0 | pydata/xarray/pulls/6917 | Minor tweak to reduce diffs in #6778. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6917/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1128356864 | PR_kwDOAMm_X84ySpaM | 6257 | Run pyupgrade on core/weighted | Illviljan 14371165 | closed | 0 | 2 | 2022-02-09T10:38:06Z | 2022-08-12T09:08:47Z | 2022-02-09T12:52:39Z | MEMBER | 0 | pydata/xarray/pulls/6257 | Clean up a little in preparation for #6059.
xref: #6244 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6257/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1124884287 | PR_kwDOAMm_X84yHhLI | 6240 | Run pyupgrade on core/utils | Illviljan 14371165 | closed | 0 | 6 | 2022-02-05T09:39:48Z | 2022-08-12T09:08:36Z | 2022-02-05T21:29:37Z | MEMBER | 0 | pydata/xarray/pulls/6240 | Make #6239 cleaner by running pyupgrade separately. pyupgrade fixes typing only if xref: #6244 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6240/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull | |||||
1124879701 | PR_kwDOAMm_X84yHgUf | 6239 | Type NDArrayMixin | Illviljan 14371165 | closed | 0 | 5 | 2022-02-05T09:15:34Z | 2022-08-12T09:08:32Z | 2022-08-12T09:08:32Z | MEMBER | 1 | pydata/xarray/pulls/6239 | Activate typing on these mixins by removing the Any.
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6239/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | pull |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);