home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 313719395

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/issues/1471#issuecomment-313719395 https://api.github.com/repos/pydata/xarray/issues/1471 313719395 MDEyOklzc3VlQ29tbWVudDMxMzcxOTM5NQ== 1217238 2017-07-07T15:48:05Z 2017-07-07T15:48:05Z MEMBER

I'm afraid this isn't possible, by design. Every variable in a Dataset sharing the same coordinate system is enforced as part of the xarray data model. This makes data analysis and comparison with a Dataset quite straightforward, since everything is already on the same grid.

For cases where you need different coordinate values and/or dimension sizes, your options are to either rename dimensions for different variables or use multiple Dataset/DataArray objects (Python has nice built-in data structures).

In theory, we could add something like an "UnalignedDataset" that supports most of the Dataset methods without requiring alignment but I'm not sure it's worth the trouble.

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