home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 730031761

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/4591#issuecomment-730031761 https://api.github.com/repos/pydata/xarray/issues/4591 730031761 MDEyOklzc3VlQ29tbWVudDczMDAzMTc2MQ== 1217238 2020-11-18T23:56:17Z 2020-11-18T23:56:17Z MEMBER

OK, I think I understand what's going on. Xarray serializes arguments that should suffice to recreate/open a backend-specific file object (e.g., h5netcdf.File). So if you pass in a file name to open_dataset(), that works fine. But if you pass in a file-like object (as is done here with fsspec) the file-like object needs to be serializable.

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