home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 761708024

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/pull/4102#issuecomment-761708024 https://api.github.com/repos/pydata/xarray/issues/4102 761708024 MDEyOklzc3VlQ29tbWVudDc2MTcwODAyNA== 14808389 2021-01-17T00:58:49Z 2021-01-17T00:58:49Z MEMBER

I switched the tutorial code to use pooch (the tests still need to be updated), which means that we get the appdirs, download, and caching for free. It is a optional dependency for now, thus requiring pooch to be able to use xr.tutorial.open_*.

However, pooch seems to be mainly written for repositories that contain both the data and the code (like scikit-image's data module). If I understand it correctly, this means that we can't take full advantage of the features pooch has (such as the file registry, or the version mechanism). Some of the options we have (github_url and branch) make this even more difficult. I wonder if we should deprecate / remove them?

So for now, instead of using pooch.create(base_url=url, registry=registry).fetch(name) we use pooch.retrieve(url, hash=None, ...). Not sure if there's a better way, though.

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