home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 790782639

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/4987#issuecomment-790782639 https://api.github.com/repos/pydata/xarray/issues/4987 790782639 MDEyOklzc3VlQ29tbWVudDc5MDc4MjYzOQ== 226037 2021-03-04T17:16:48Z 2021-03-04T17:22:31Z MEMBER

@jp-dark it is in fact possible to write an xarray backend without explicitly depending on xarray in your setup.py if you put all your backend glue code in a separate module not imported by the main __init__.py.

We use the setuptools entrypoints infrastructure that triggers a module load only from within xarray itself.

This is still work in progress, but we are implementing this strategy in cfgrib with success. You can get inspiration from the following PR by @aurghs:

https://github.com/ecmwf/cfgrib/pull/203

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