home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 243546130

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/992#issuecomment-243546130 https://api.github.com/repos/pydata/xarray/issues/992 243546130 MDEyOklzc3VlQ29tbWVudDI0MzU0NjEzMA== 1217238 2016-08-30T19:07:19Z 2016-08-30T19:07:19Z MEMBER

However, when the dataset is indexed/subset/resampled along the unlimited dimension, it would make sense that its state is dropped. But that would require a lot of ifs and buts, so I suggest we leave that aside for now.

This is exactly how Variable.encoding currently works: any operation that creates a new variable from the original variable drops the encoding.

If we put this encoding information on the variable corresponding to the dimension, any time you save a Dataset using that exact same dimension variable, it would be saved as unlimited size. So if you only modify other dimensions (e.g., with resampling or indexing), the unlimited dimension would indeed persist, as you desire.

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