home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 821294184

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/5168#issuecomment-821294184 https://api.github.com/repos/pydata/xarray/issues/5168 821294184 MDEyOklzc3VlQ29tbWVudDgyMTI5NDE4NA== 2448579 2021-04-16T16:28:09Z 2021-04-16T16:28:09Z MEMBER

I'm not sure about writing to zarr but it seems possible to support nan-sized dimensions when unindexed. We could skip alignment when the dimension is nan-sized for all variables in an Xarray object.

~/kitchen_sync/xarray/xarray/core/alignment.py in align(join, copy, indexes, exclude, fill_value, *objects) 283 for dim in obj.dims: 284 if dim not in exclude: --> 285 all_coords[dim].append(obj.coords[dim]) 286 try: 287 index = obj.indexes[dim]

For alignment, it may be as easy as adding the name of the nan-sized dimension to exclude.

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