home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "NONE" and user = 10676434 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 3

  • DataArray.to_netcdf breaks in filename-dependent manner 2
  • Support for attributes with different dtypes when serialising to netcdf4 1
  • DataArray coordinates transformed into variables when saved to disk 1

user 1

  • half-adder · 4 ✖

author_association 1

  • NONE · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
625430109 https://github.com/pydata/xarray/issues/4042#issuecomment-625430109 https://api.github.com/repos/pydata/xarray/issues/4042 MDEyOklzc3VlQ29tbWVudDYyNTQzMDEwOQ== half-adder 10676434 2020-05-07T18:42:52Z 2020-05-07T18:42:52Z NONE

Solved. This seems to happen when I have a coordinate named the same as a dimension (in this case, animal)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray coordinates transformed into variables when saved to disk 613717463
624987687 https://github.com/pydata/xarray/issues/3997#issuecomment-624987687 https://api.github.com/repos/pydata/xarray/issues/3997 MDEyOklzc3VlQ29tbWVudDYyNDk4NzY4Nw== half-adder 10676434 2020-05-07T02:10:44Z 2020-05-07T02:10:44Z NONE

I believe this is related to #4042

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray.to_netcdf breaks in filename-dependent manner 605717342
618590688 https://github.com/pydata/xarray/issues/3997#issuecomment-618590688 https://api.github.com/repos/pydata/xarray/issues/3997 MDEyOklzc3VlQ29tbWVudDYxODU5MDY4OA== half-adder 10676434 2020-04-23T18:54:01Z 2020-04-23T19:01:48Z NONE

data.npy.zip

Unzip data.npy.zip into data.npy

```python npy_filename = '/Users/sean/Desktop/data.npy' nc_filename = '/Users/sean/Desktop/test.nc'

data = xr.DataArray( np.load(npy_filename), dims=('animal', 'timepoint', 'pair', 'wavelength', 'y', 'x') ) data.to_netcdf(nc_filename) xr.open_dataarray(nc_filename) output:


ValueError Traceback (most recent call last) <ipython-input-147-5c2383feb8db> in <module> 4 ) 5 data.to_netcdf('/Users/sean/Desktop/test.nc') ----> 6 xr.open_dataarray('/Users/sean/Desktop/test.nc')

~/opt/anaconda3/envs/pharedox/lib/python3.7/site-packages/xarray/backends/api.py in open_dataarray(filename_or_obj, group, decode_cf, mask_and_scale, decode_times, autoclose, concat_characters, decode_coords, engine, chunks, lock, cache, drop_variables, backend_kwargs, use_cftime) 676 if len(dataset.data_vars) != 1: 677 raise ValueError( --> 678 "Given file dataset contains more than one data " 679 "variable. Please read with xarray.open_dataset and " 680 "then select the variable you want."

ValueError: Given file dataset contains more than one data variable. Please read with xarray.open_dataset and then select the variable you want. ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray.to_netcdf breaks in filename-dependent manner 605717342
600093212 https://github.com/pydata/xarray/issues/1500#issuecomment-600093212 https://api.github.com/repos/pydata/xarray/issues/1500 MDEyOklzc3VlQ29tbWVudDYwMDA5MzIxMg== half-adder 10676434 2020-03-17T14:11:46Z 2020-03-17T14:11:46Z NONE

Still relevant

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Support for attributes with different dtypes when serialising to netcdf4 247703455

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 13.53ms · About: xarray-datasette