home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 302951509

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/1260#issuecomment-302951509 https://api.github.com/repos/pydata/xarray/issues/1260 302951509 MDEyOklzc3VlQ29tbWVudDMwMjk1MTUwOQ== 1217238 2017-05-21T17:43:45Z 2017-05-22T16:36:32Z MEMBER

You should be able to simply wrap RasterioArrayWrapper in an indexing.LazilyIndexedArray and then pass it into the xarray.DataArray constructor directly.

EDIT: open_dataset also wrap data with CopyOnWriteArray and optionally MemoryCachedArray. These are also probably worth using for consistency, e.g., see these lines from xarray/backends/api.py: python data = indexing.CopyOnWriteArray(variable._data) if cache: data = indexing.MemoryCachedArray(data)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  206905158
Powered by Datasette · Queries took 243.604ms · About: xarray-datasette