home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where author_association = "NONE" and user = 7342379 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) 6
  • open_mfdataset doesn't work on some datasets with dask 0.12 1

user 1

  • AlexeyPechnikov · 7 ✖

author_association 1

  • NONE · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
354709385 https://github.com/pydata/xarray/issues/1805#issuecomment-354709385 https://api.github.com/repos/pydata/xarray/issues/1805 MDEyOklzc3VlQ29tbWVudDM1NDcwOTM4NQ== AlexeyPechnikov 7342379 2018-01-02T06:33:38Z 2018-01-02T06:34:15Z NONE

And in-memory dataarray couldn't be modified too: import xarray as xr ds = xr.open_mfdataset('./nctiles_monthly/TFLUX/TFLUX*.nc',concat_dim='tile') TFLUX = ds.TFLUX.copy(deep=True) TFLUX.values[1,1,1] = 0*TFLUX.values[1,1,1] TFLUX.values[1,1,1] array([ 60.46262741, 57.78710175, 56.33338547, 56.44807434, ..., 76.84630585, 74.65901184], dtype=float32) But why?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) 285294506
354707556 https://github.com/pydata/xarray/issues/1805#issuecomment-354707556 https://api.github.com/repos/pydata/xarray/issues/1805 MDEyOklzc3VlQ29tbWVudDM1NDcwNzU1Ng== AlexeyPechnikov 7342379 2018-01-02T06:06:42Z 2018-01-02T06:06:42Z NONE

Is it possible to fix the "cache" option for open_mfdataset()? And raise error in other case.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) 285294506
354706693 https://github.com/pydata/xarray/issues/1805#issuecomment-354706693 https://api.github.com/repos/pydata/xarray/issues/1805 MDEyOklzc3VlQ29tbWVudDM1NDcwNjY5Mw== AlexeyPechnikov 7342379 2018-01-02T05:53:26Z 2018-01-02T05:53:26Z NONE

In practice, this arises with open_mfdataset() or open_dataset() with cache=False.

Hm, I tested with "cache=True" but it still doesn't work.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) 285294506
354706420 https://github.com/pydata/xarray/issues/1805#issuecomment-354706420 https://api.github.com/repos/pydata/xarray/issues/1805 MDEyOklzc3VlQ29tbWVudDM1NDcwNjQyMA== AlexeyPechnikov 7342379 2018-01-02T05:49:06Z 2018-01-02T05:49:06Z NONE

pip2 install xarray==0.8.2

``` import xarray as xr ds = xr.open_mfdataset('./nctiles_monthly/TFLUX/TFLUX.nc',concat_dim='tile') TFLUX = ds.TFLUX TFLUX.values[1,1,1] = 0TFLUX.values[1,1,1] TFLUX.values[1,1,1]

array([ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., ..., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.], dtype=float32) ```

So old code is broken now.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) 285294506
354706237 https://github.com/pydata/xarray/issues/1805#issuecomment-354706237 https://api.github.com/repos/pydata/xarray/issues/1805 MDEyOklzc3VlQ29tbWVudDM1NDcwNjIzNw== AlexeyPechnikov 7342379 2018-01-02T05:45:55Z 2018-01-02T05:45:55Z NONE

It's works correct for xarray 0.8.2...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) 285294506
354705066 https://github.com/pydata/xarray/issues/1805#issuecomment-354705066 https://api.github.com/repos/pydata/xarray/issues/1805 MDEyOklzc3VlQ29tbWVudDM1NDcwNTA2Ng== AlexeyPechnikov 7342379 2018-01-02T05:25:31Z 2018-01-02T05:25:31Z NONE

I use this dataset: ftp://mit.ecco-group.org/ecco_for_las/version_4/release2/nctiles_monthly/TFLUX My code: ``` import xarray as xr ds = xr.open_mfdataset('./nctiles_monthly/TFLUX/TFLUX.nc',concat_dim='tile') TFLUX = ds.TFLUX TFLUX.values[1,1,1] = 0TFLUX.values[1,1,1] TFLUX.values[1,1,1]

array([ 60.46262741, 57.78710175, 56.33338547, 56.44807434, ..., 76.84630585, 74.65901184], dtype=float32)

Also xarray.show_versions()

INSTALLED VERSIONS

commit: None python: 2.7.14.final.0 python-bits: 64 OS: Darwin OS-release: 17.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 LOCALE: None.None

xarray: 0.10.0 pandas: 0.22.0 numpy: 1.13.3 scipy: 0.18.1 netCDF4: 1.2.6 h5netcdf: None Nio: None bottleneck: None cyordereddict: None dask: 0.16.0 matplotlib: 2.1.0 cartopy: None seaborn: None setuptools: 36.5.0 pip: 9.0.1 conda: None pytest: 3.2.3 IPython: 5.1.0 sphinx: None ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Couldn't change values for on-disk datasets opened by open_mfdataset() (xarray > 0.8.2) 285294506
354704179 https://github.com/pydata/xarray/issues/1806#issuecomment-354704179 https://api.github.com/repos/pydata/xarray/issues/1806 MDEyOklzc3VlQ29tbWVudDM1NDcwNDE3OQ== AlexeyPechnikov 7342379 2018-01-02T05:09:07Z 2018-01-02T05:09:07Z NONE

Thanks, it's works: pip2 install xarray==0.10.0 pip2 install dask==0.16.0 And it doesn't work: pip2 install xarray==0.10.0 pip2 install dask==0.12.0

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  open_mfdataset doesn't work on some datasets with dask 0.12 285295060

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 14.174ms · About: xarray-datasette