home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1031335864

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/6239#issuecomment-1031335864 https://api.github.com/repos/pydata/xarray/issues/6239 1031335864 IC_kwDOAMm_X849eO-4 10194086 2022-02-07T10:57:41Z 2022-02-07T10:57:41Z MEMBER

I think BackendArray (and it's parents) did not define shape as an attribute. So one option is to revert this change.


The other is to unify how the backends assign shape and dtype? They seem be to defined very differently depending on the backend.

https://github.com/pydata/xarray/blob/d47cf0c850cb70429373782b3c1e0329d14fd05a/xarray/backends/pydap_.py#L28-L30

https://github.com/pydata/xarray/blob/d47cf0c850cb70429373782b3c1e0329d14fd05a/xarray/backends/netCDF4_.py#L59

https://github.com/pydata/xarray/blob/d47cf0c850cb70429373782b3c1e0329d14fd05a/xarray/backends/rasterio_.py#L37

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