home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 327252508

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/1068#issuecomment-327252508 https://api.github.com/repos/pydata/xarray/issues/1068 327252508 MDEyOklzc3VlQ29tbWVudDMyNzI1MjUwOA== 1217238 2017-09-05T17:46:54Z 2017-09-05T17:47:19Z MEMBER

@mrpgraae no, I don't think this has been implemented yet.

Please take a look at #1508 for an example of the model to use: - Define an open classmethod method for loading from a URL. - __init__ should accept a pydap dataset object (whatever is returned from pydap.client.open_url)

You are also welcome to add any keyword parameters (e.g., session) that open_url accepts to the open method.

So the user API becomes: python pydap_ds = pydap.client.open_url(url, session=session) store = xarray.backends.PydapDataStore(pydap_ds) ds = xarray.open_dataset(store) or python store = xarray.backends.PydapDataStore.open(url, session=session) ds = xarray.open_dataset(store)

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