home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 291524555 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • ghost 3
  • fujiisoup 3

author_association 2

  • MEMBER 3
  • NONE 3

issue 1

  • AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
360782142 https://github.com/pydata/xarray/issues/1857#issuecomment-360782142 https://api.github.com/repos/pydata/xarray/issues/1857 MDEyOklzc3VlQ29tbWVudDM2MDc4MjE0Mg== ghost 10137 2018-01-26T13:18:10Z 2018-01-26T13:18:10Z NONE

Thanks for the suggestion! Installing both latest master of xarray (0092911) and latest master of pydap (4ae73e3) fixed this issue, and now I can open the dataset.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' 291524555
360483054 https://github.com/pydata/xarray/issues/1857#issuecomment-360483054 https://api.github.com/repos/pydata/xarray/issues/1857 MDEyOklzc3VlQ29tbWVudDM2MDQ4MzA1NA== fujiisoup 6815844 2018-01-25T14:31:46Z 2018-01-25T14:31:46Z MEMBER

I'm also using the same commit version.

Can you try to update pydap?

1775 was caused by the update of pydap. This issue might be also.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' 291524555
360468449 https://github.com/pydata/xarray/issues/1857#issuecomment-360468449 https://api.github.com/repos/pydata/xarray/issues/1857 MDEyOklzc3VlQ29tbWVudDM2MDQ2ODQ0OQ== ghost 10137 2018-01-25T13:37:37Z 2018-01-25T13:37:37Z NONE

After pulling (Git says ‘Already up-to-date.’), my xarray version (xarray.__version__) is still '0.10.0+dev44.g0a0593d'. What version are you using?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' 291524555
360464507 https://github.com/pydata/xarray/issues/1857#issuecomment-360464507 https://api.github.com/repos/pydata/xarray/issues/1857 MDEyOklzc3VlQ29tbWVudDM2MDQ2NDUwNw== fujiisoup 6815844 2018-01-25T13:20:58Z 2018-01-25T13:20:58Z MEMBER

It looks like you are using the older version than #1775. Could you try this again? git pull git checkout master python setup.py develop

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' 291524555
360461190 https://github.com/pydata/xarray/issues/1857#issuecomment-360461190 https://api.github.com/repos/pydata/xarray/issues/1857 MDEyOklzc3VlQ29tbWVudDM2MDQ2MTE5MA== ghost 10137 2018-01-25T13:06:15Z 2018-01-25T13:06:15Z NONE

Same thing: ``` Traceback (most recent call last): File "C:\Anaconda3\envs\xa_test\lib\site-packages\pydap\model.py", line 295, in getattr return self[attr] File "C:\Anaconda3\envs\xa_test\lib\site-packages\pydap\model.py", line 556, in getitem return StructureType.getitem(self, key) File "C:\Anaconda3\envs\xa_test\lib\site-packages\pydap\model.py", line 326, in getitem return self._dict[key] KeyError: 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Anaconda3\envs\xa_test\lib\site-packages\pydap\model.py", line 180, in getattr return self.attributes[attr] KeyError: 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\src\xarray\xarray\backends\api.py", line 305, in open_dataset return maybe_decode_store(store, lock) File "c:\src\xarray\xarray\backends\api.py", line 225, in maybe_decode_store drop_variables=drop_variables) File "c:\src\xarray\xarray\conventions.py", line 598, in decode_cf vars, attrs = obj.load() File "c:\src\xarray\xarray\backends\common.py", line 133, in load for k, v in self.get_variables().items()) File "c:\src\xarray\xarray\backends\pydap_.py", line 85, in get_variables for k in self.ds.keys()) File "c:\src\xarray\xarray\core\utils.py", line 309, in FrozenOrderedDict return Frozen(OrderedDict(args, *kwargs)) File "c:\src\xarray\xarray\backends\pydap_.py", line 85, in <genexpr> for k in self.ds.keys()) File "c:\src\xarray\xarray\backends\pydap_.py", line 79, in open_store_variable data = indexing.LazilyIndexedArray(PydapArrayWrapper(var)) File "c:\src\xarray\xarray\core\indexing.py", line 482, in init key = BasicIndexer((slice(None),) * array.ndim) File "c:\src\xarray\xarray\core\utils.py", line 428, in ndim return len(self.shape) File "c:\src\xarray\xarray\backends\pydap_.py", line 20, in shape return self.array.shape File "C:\Anaconda3\envs\xa_test\lib\site-packages\pydap\model.py", line 297, in getattr return DapType.getattr(self, attr) File "C:\Anaconda3\envs\xa_test\lib\site-packages\pydap\model.py", line 184, in getattr % (self.class, attr)) AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' 291524555
360455065 https://github.com/pydata/xarray/issues/1857#issuecomment-360455065 https://api.github.com/repos/pydata/xarray/issues/1857 MDEyOklzc3VlQ29tbWVudDM2MDQ1NTA2NQ== fujiisoup 6815844 2018-01-25T12:38:57Z 2018-01-25T12:38:57Z MEMBER

I couldn't reproduce it (I guess I need a userid and password to access the data). Can you try this?

python url = 'http://test.opendap.org/opendap/hyrax/data/nc/bears.nc' actual = xr.open_dataset(url, engine='pydap')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  AttributeError: '<class 'pydap.model.GridType'>' object has no attribute 'shape' 291524555

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