home / github

Menu
  • GraphQL API
  • Search all tables

issues

Table actions
  • GraphQL API for issues

2 rows where state = "closed" and user = 7342379 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date), closed_at (date)

type 1

  • issue 2

state 1

  • closed · 2 ✖

repo 1

  • xarray 2
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
285294506 MDU6SXNzdWUyODUyOTQ1MDY= 1805 Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) AlexeyPechnikov 7342379 closed 0     11 2018-01-01T07:53:45Z 2020-01-02T17:39:07Z 2020-01-02T17:39:07Z NONE      

It doesn't work:

``` test = ds.TEST test.values.flags

C_CONTIGUOUS : True F_CONTIGUOUS : False OWNDATA : True WRITEABLE : True ALIGNED : True UPDATEIFCOPY : False

test.values

array([ 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.])

test.values = 0*test.values test.values

array([ 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.]) ... ```

But it works: ``` test = xr.DataArray(np.ones(10), coords={ 'x': range(10) }, dims=['x'] ) test.values

array([ 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.])

test.values = 0*test.values test.values

array([ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]) ```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1805/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue
285295060 MDU6SXNzdWUyODUyOTUwNjA= 1806 open_mfdataset doesn't work on some datasets with dask 0.12 AlexeyPechnikov 7342379 closed 0     4 2018-01-01T08:05:33Z 2019-02-03T03:29:31Z 2019-02-03T03:29:31Z NONE      

``` xr.open_mfdataset('TEST.000*.nc',concat_dim='test')


AttributeError Traceback (most recent call last) <ipython-input-31-4dbe17730991> in <module>() ----> 1 xr.open_mfdataset('TEST.000*.nc',concat_dim='face')

/usr/local/lib/python2.7/site-packages/xarray/backends/api.pyc in open_mfdataset(paths, chunks, concat_dim, compat, preprocess, engine, lock, data_vars, coords, **kwargs) 551 combined = auto_combine(datasets, concat_dim=concat_dim, 552 compat=compat, --> 553 data_vars=data_vars, coords=coords) 554 except ValueError: 555 for ds in datasets:

/usr/local/lib/python2.7/site-packages/xarray/core/combine.pyc in auto_combine(datasets, concat_dim, compat, data_vars, coords) 434 concatenated = [_auto_concat(ds, dim=dim, 435 data_vars=data_vars, coords=coords) --> 436 for ds in grouped] 437 else: 438 concatenated = datasets

/usr/local/lib/python2.7/site-packages/xarray/core/combine.pyc in _auto_concat(datasets, dim, data_vars, coords) 363 'explicitly') 364 dim, = concat_dims --> 365 return concat(datasets, dim=dim, data_vars=data_vars, coords=coords) 366 367

/usr/local/lib/python2.7/site-packages/xarray/core/combine.pyc in concat(objs, dim, data_vars, coords, compat, positions, indexers, mode, concat_over) 118 raise TypeError('can only concatenate xarray Dataset and DataArray ' 119 'objects, got %s' % type(first_obj)) --> 120 return f(objs, dim, data_vars, coords, compat, positions) 121 122

/usr/local/lib/python2.7/site-packages/xarray/core/combine.pyc in _dataset_concat(datasets, dim, data_vars, coords, compat, positions) 303 if k in concat_over: 304 vars = ensure_common_dims([ds.variables[k] for ds in datasets]) --> 305 combined = concat_vars(vars, dim, positions) 306 insert_result_variable(k, combined) 307

/usr/local/lib/python2.7/site-packages/xarray/core/variable.pyc in concat(variables, dim, positions, shortcut) 1685 return IndexVariable.concat(variables, dim, positions, shortcut) 1686 else: -> 1687 return Variable.concat(variables, dim, positions, shortcut) 1688 1689

/usr/local/lib/python2.7/site-packages/xarray/core/variable.pyc in concat(cls, variables, dim, positions, shortcut) 1234 axis = first_var.get_axis_num(dim) 1235 dims = first_var.dims -> 1236 data = duck_array_ops.concatenate(arrays, axis=axis) 1237 if positions is not None: 1238 # TODO: deprecate this option -- we don't need it for groupby

/usr/local/lib/python2.7/site-packages/xarray/core/duck_array_ops.pyc in f(args, kwargs) 49 else: 50 module = eager_module ---> 51 return getattr(module, name)(args, kwargs) 52 else: 53 def f(data, *args, kwargs):

/usr/local/lib/python2.7/site-packages/dask/array/core.pyc in concatenate(seq, axis) 2176 2177 uc_args = list(concat(zip(seq, inds))) -> 2178 _, seq = unify_chunks(*uc_args, warn=False) 2179 2180 bds = [a.chunks for a in seq]

/usr/local/lib/python2.7/site-packages/dask/array/core.pyc in unify_chunks(args, *kwargs) 1898 arginds = list(partition(2, args)) # [x, ij, y, jk] -> [(x, ij), (y, jk)] 1899 -> 1900 nameinds = [(a.name, i) for a, i in arginds] 1901 blockdim_dict = dict((a.name, a.chunks) for a, _ in arginds) 1902

AttributeError: 'numpy.ndarray' object has no attribute 'name' ```

But it's works for any previous xarray version.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1806/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

CSV options:

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]);
Powered by Datasette · Queries took 21.299ms · About: xarray-datasette