home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 809493007

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/5070#issuecomment-809493007 https://api.github.com/repos/pydata/xarray/issues/5070 809493007 MDEyOklzc3VlQ29tbWVudDgwOTQ5MzAwNw== 6042212 2021-03-29T15:52:28Z 2021-03-29T15:52:28Z CONTRIBUTOR

Unsure whether checking hasattr is better than just trying to read the object and catching an error

Agree, that's fine. An AttributeError in this calling function might look weird, though, so you could have both.

you could read it into BytesIO and pass the BytesIO instance

This is in general a bad idea, since we are wanting to deal with large files, and we have random access capabilities.

Ideally xarray would work with fsspec

It does, but this is an edge case of using fsspec for local files; these are normally passed as the filename.

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