pull_requests: 424150604
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
424150604 | MDExOlB1bGxSZXF1ZXN0NDI0MTUwNjA0 | 4102 | closed | 0 | cache rasterio example files | 14808389 | To make building the documentation a bit faster (by 5-10 minutes for me), this adds a `xr.tutorial.open_rasterio` function with a signature and behavior that is almost identical to `tutorial.open_dataset` (when we replace the `open_*` functions with `open_dataset(..., format="...")` we should do that for the tutorial functions, too). It uses `requests.get` instead of [`urllib.request.urlretrieve`](https://docs.python.org/3/library/urllib.request.html#urllib.request.urlretrieve) so that would be a new dependency. I'm not sure if that's an issue since it's installed in the `bare-minimum` CI's environment. The `tutorial.open_dataset` code could be rewritten to use the same structure but I wanted to get feedback on `open_rasterio` first. Edit: I also changed the default cache directory to `~/.cache/xarray_tutorial_data` with a fallback to the old default if `~/.cache` does not exist - [x] Closes #3986 - [x] Tests added (but that's just a comparison between cached and uncached) - [x] Passes `isort -rc . && black . && mypy . && flake8` - [ ] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API | 2020-05-27T22:43:04Z | 2021-03-24T17:58:48Z | 2021-03-24T17:56:49Z | 2021-03-24T17:56:49Z | 8452120e52862df564a6e629d1ab5a7d392853b0 | 0 | b532879c42c1a6641e9571ad22e32821a3795ad7 | ec4e8b5f279e28588eee8ff43a328ca6c2f89f01 | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/4102 |
Links from other tables
- 0 rows from pull_requests_id in labels_pull_requests