issues
3 rows where type = "issue" and user = 15742456 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
399309171 | MDU6SXNzdWUzOTkzMDkxNzE= | 2676 | Reshape function works only for numpy array and raise error with xarray variable. | ahmedshaaban1 15742456 | closed | 0 | 11 | 2019-01-15T11:46:56Z | 2021-06-09T15:10:03Z | 2021-06-09T15:10:03Z | NONE | Code Sample. raw is xarray.Variable (time: 12784, lat: 73, lon: 144). I am trying to reshape it. ```python
File "<ipython-input-29-745611cba19c>", line 1, in <module> tmp= np.reshape(raw,(np.shape(raw)[0],np.shape(raw)[1]*np.shape(raw)[2])); File "/Users/ahmedlasheen/anaconda2/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 257, in reshape return _wrapfunc(a, 'reshape', newshape, order=order) File "/Users/ahmedlasheen/anaconda2/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 62, in _wrapfunc return _wrapit(obj, method, args, *kwds) File "/Users/ahmedlasheen/anaconda2/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 46, in _wrapit result = wrap(result) File "/Users/ahmedlasheen/anaconda2/lib/python2.7/site-packages/xarray/core/variable.py", line 1639, in array_wrap return Variable(self.dims, obj) File "/Users/ahmedlasheen/anaconda2/lib/python2.7/site-packages/xarray/core/variable.py", line 259, in init self._dims = self._parse_dimensions(dims) File "/Users/ahmedlasheen/anaconda2/lib/python2.7/site-packages/xarray/core/variable.py", line 420, in _parse_dimensions % (dims, self.ndim)) ValueError: dimensions (u'time', u'lat', u'lon') must have the same length as the number of data dimensions, ndim=2 ``` Problem descriptionI got the previous error, which disappears once I use Expected OutputOutput of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
438590881 | MDU6SXNzdWU0Mzg1OTA4ODE= | 2931 | MergeError: coordinate mytime1 shares a name with a dataset dimension …. This is disallowed by the xarray data model. | ahmedshaaban1 15742456 | open | 0 | 3 | 2019-04-30T03:33:08Z | 2019-05-06T15:10:18Z | NONE | ```python import xarray as xr import pandas as p import numpy as np var1 = np.ones((364)) tt1=p.date_range('1/1/2018','12/30/2018') tt1.name= 'time1_name' var=xr.Dataset( data_vars={ 'var1':(('mytime1'),var1), }, coords={ 'mytime1':tt1, } ) ``` Problem descriptionI got the following error "MergeError: coordinate mytime1 shares a name with a dataset dimension, but is not a 1D variable along that dimension. This is disallowed by the xarray data model." when I inlcude name attribue "time1_name" to the var1 dimension mytime1. Expected OutputOutput of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2931/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue | ||||||||
405487803 | MDU6SXNzdWU0MDU0ODc4MDM= | 2733 | Unable to construct indexVariable. | ahmedshaaban1 15742456 | closed | 0 | 3 | 2019-01-31T23:34:26Z | 2019-02-04T07:13:04Z | 2019-02-04T07:13:04Z | NONE | Hi, I am trying to reproduce the index-variable with the same data, dims, attributes, yet I got the following error message ```python-traceback Traceback (most recent call last): File "<ipython-input-180-c993b3a40ff6>", line 4, in <module> latPP=xr.IndexVariable(latP.data,latP.dims,latP.attrs) File "/linuxapps/anaconda/lib/python2.7/site-packages/xarray/core/variable.py", line 1618, in init fastpath) File "/linuxapps/anaconda/lib/python2.7/site-packages/xarray/core/variable.py", line 263, in init self._dims = self._parse_dimensions(dims) File "/linuxapps/anaconda/lib/python2.7/site-packages/xarray/core/variable.py", line 424, in _parse_dimensions % (dims, self.ndim)) ValueError: dimensions (90.0, 87.5, 85.0, 82.5, 80.0, 77.5, 75.0, 72.5, 70.0, 67.5, 65.0, 62.5, 60.0, 57.5, 55.0, 52.5, 50.0, 47.5, 45.0, 42.5, 40.0, 37.5, 35.0, 32.5, 30.0, 27.5, 25.0, 22.5, 20.0, 17.5, 15.0, 12.5, 10.0, 7.5, 5.0, 2.5, 0.0, -2.5, -5.0, -7.5, -10.0, -12.5, -15.0, -17.5, -20.0, -22.5, -25.0, -27.5, -30.0, -32.5, -35.0, -37.5, -40.0, -42.5, -45.0, -47.5, -50.0, -52.5, -55.0, -57.5, -60.0, -62.5, -65.0, -67.5, -70.0, -72.5, -75.0, -77.5, -80.0, -82.5, -85.0, -87.5, -90.0) must have the same length as the number of data dimensions, ndim=0 ``` The file is on Box drive.
https://app.box.com/s/vc8m9c9blue3svbm9v7fy0xg1rkthut0
Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2733/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]);