home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 437579539

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/2159#issuecomment-437579539 https://api.github.com/repos/pydata/xarray/issues/2159 437579539 MDEyOklzc3VlQ29tbWVudDQzNzU3OTUzOQ== 35968931 2018-11-10T12:10:00Z 2018-11-10T12:10:00Z MEMBER

@shoyer see my PR trying to implement this (#2553).

Inputting a list of lists into auto_combine() is working, but it wasn't obvious to me how to handle this within open_mfdataset(). A few approaches:

1) I could try to somehow generalise all of the list comprehensions in open_mfdataset(), which would be messy but general

2) Write some kind of recursive iterator function which would allow me to apply the preproccess and dask.compute functions to all the objects in the nested list

3) Separate the logic so that the input is assumed to be a flat list unless infer_order_from_coords=True

4) Always recursively flatten the input before opening the files, but store the structure somehow

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