issues
7 rows where state = "closed", type = "issue" and user = 4711805 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: comments, 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1320562401 | I_kwDOAMm_X85Oti7h | 6844 | module 'xarray.core' has no attribute 'rolling' | davidbrochart 4711805 | closed | 0 | 2 | 2022-07-28T08:13:41Z | 2022-07-28T08:26:13Z | 2022-07-28T08:26:12Z | CONTRIBUTOR | What happened?There used to be a What did you expect to happen?Shouldn't we be able to access Minimal Complete Verifiable Example```Python import xarray as xr xr.core.rolling Traceback (most recent call last):File "<stdin>", line 1, in <module>AttributeError: module 'xarray.core' has no attribute 'rolling'``` MVCE confirmation
Relevant log outputNo response Anything else we need to know?No response Environment
/home/david/mambaforge/envs/xarray_leaflet/lib/python3.10/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.5 | packaged by conda-forge | (main, Jun 14 2022, 07:06:46) [GCC 10.3.0]
python-bits: 64
OS: Linux
OS-release: 5.15.0-41-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: None
libnetcdf: None
xarray: 2022.6.0
pandas: 1.4.3
numpy: 1.23.1
scipy: None
netCDF4: None
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: None
nc_time_axis: None
PseudoNetCDF: None
rasterio: 1.3.0
cfgrib: None
iris: None
bottleneck: None
dask: 2022.7.1
distributed: None
matplotlib: 3.5.2
cartopy: None
seaborn: None
numbagg: None
fsspec: 2022.7.0
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: 63.2.0
pip: 22.2.1
conda: None
pytest: None
IPython: 8.4.0
sphinx: None
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
636480145 | MDU6SXNzdWU2MzY0ODAxNDU= | 4141 | xarray.where() drops attributes | davidbrochart 4711805 | closed | 0 | 3 | 2020-06-10T19:06:32Z | 2022-01-19T19:35:41Z | 2022-01-19T19:35:41Z | CONTRIBUTOR | MCVE Code Sample```python import xarray as xr da = xr.DataArray(1) da.attrs['foo'] = 'bar' xr.where(da==0, -1, da).attrs shows: {}``` Expected Output
Problem DescriptionI would expect the attributes to remain in the data array. VersionsOutput of <tt>xr.show_versions()</tt>INSTALLED VERSIONS ------------------ commit: None python: 3.8.2 | packaged by conda-forge | (default, Apr 24 2020, 08:20:52) [GCC 7.3.0] python-bits: 64 OS: Linux OS-release: 5.4.0-33-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 libhdf5: None libnetcdf: None xarray: 0.15.1 pandas: 1.0.4 numpy: 1.18.4 scipy: 1.4.1 netCDF4: None pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: None nc_time_axis: None PseudoNetCDF: None rasterio: 1.1.4 cfgrib: None iris: None bottleneck: None dask: 2.16.0 distributed: None matplotlib: 3.2.1 cartopy: None seaborn: None numbagg: None setuptools: 46.2.0 pip: 20.1 conda: None pytest: None IPython: 7.14.0 sphinx: 3.0.4 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4141/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
393742068 | MDU6SXNzdWUzOTM3NDIwNjg= | 2628 | Empty plot with pcolormesh in the notebook | davidbrochart 4711805 | closed | 0 | 3 | 2018-12-23T11:21:48Z | 2020-12-05T05:06:36Z | 2020-12-05T05:06:36Z | CONTRIBUTOR | Code Sample```python import numpy as np import xarray as xr import matplotlib.pyplot as plt %matplotlib inline a = np.ones((4000, 4000), dtype=np.uint8) a[:1000, :1000] = 0 lat = np.array([0-i for i in range(a.shape[0])]) lon = np.array([0+i for i in range(a.shape[1])]) da = xr.DataArray(a, coords=[lat, lon], dims=['lat', 'lon']) da.plot.pcolormesh() ``` Problem descriptionThe code above shows an empty plot in a notebook (but not in the console). Expected OutputIf I replace Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2628/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
395384938 | MDU6SXNzdWUzOTUzODQ5Mzg= | 2644 | DataArray concat with tolerance | davidbrochart 4711805 | closed | 0 | 3 | 2019-01-02T21:23:21Z | 2019-08-15T15:15:26Z | 2019-08-15T15:15:26Z | CONTRIBUTOR | I would like to concatenate many
And I would get: ``` <xarray.DataArray (z: 2, x: 3, y: 3)> array([[[ 0., 1., nan], [ 2., 3., nan], [nan, nan, nan]],
Coordinates: * x (x) float64 0 1 2.1 * y (y) float64 0 1 2.1 Dimensions without coordinates: z ``` @jhamman suggested to use
Is there another work around? Do you think it would be worth having this feature in |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2644/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
467338176 | MDU6SXNzdWU0NjczMzgxNzY= | 3100 | Append to zarr redundant with mode='a' | davidbrochart 4711805 | closed | 0 | 3 | 2019-07-12T10:21:04Z | 2019-07-29T15:54:45Z | 2019-07-29T15:54:45Z | CONTRIBUTOR | When appending to a zarr store, we need to set |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3100/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
467267153 | MDU6SXNzdWU0NjcyNjcxNTM= | 3099 | Interpolation doesn't apply on time coordinate | davidbrochart 4711805 | closed | 0 | 1 | 2019-07-12T07:37:18Z | 2019-07-13T15:05:39Z | 2019-07-13T15:05:39Z | CONTRIBUTOR | MCVE Code Sample```python In [1]: import numpy as np ...: import pandas as pd ...: import xarray as xr In [2]: da = xr.DataArray([1, 2], [('time', pd.date_range('2000-01-01', '2000-01-02', periods=2))])
...: da In [3]: da.interp(time=da.time-np.timedelta64(1, 'D')) Problem DescriptionThe data has been interpolated, but not the time coordinate. Expected OutputWhen we explicitly get the values of the time coordinate, it works fine:
Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3099/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
463928027 | MDU6SXNzdWU0NjM5MjgwMjc= | 3078 | Auto-generated API documentation | davidbrochart 4711805 | closed | 0 | 2 | 2019-07-03T19:57:51Z | 2019-07-03T20:02:11Z | 2019-07-03T20:00:35Z | CONTRIBUTOR | For instance in http://xarray.pydata.org/en/stable/generated/xarray.apply_ufunc.html, there is no space between the parameters and their type description, e.g. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3078/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue |
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]);