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/2255#issuecomment-514687031,https://api.github.com/repos/pydata/xarray/issues/2255,514687031,MDEyOklzc3VlQ29tbWVudDUxNDY4NzAzMQ==,306380,2019-07-24T15:43:04Z,2019-07-24T15:43:04Z,MEMBER,"I'm glad to hear it! I'm curious, are there features in rioxarray that
could be pushed upstream?
On Wed, Jul 24, 2019 at 8:39 AM Alan D. Snow
wrote:
> I've abandoned this PR. If anyone has time to pick it up, that would be
> welcome.
>
> I appreciate you staring this! Based on this PR, I added the feature into
> rioxarray here: corteva/rioxarray#31
> (released in version
> 0.0.9).
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> ,
> or mute the thread
>
> .
>
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,336371511
https://github.com/pydata/xarray/pull/2255#issuecomment-514682988,https://api.github.com/repos/pydata/xarray/issues/2255,514682988,MDEyOklzc3VlQ29tbWVudDUxNDY4Mjk4OA==,306380,2019-07-24T15:33:10Z,2019-07-24T15:33:10Z,MEMBER,"I've abandoned this PR. If anyone has time to pick it up, that would be welcome. I think that it would have positive impact.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,336371511
https://github.com/pydata/xarray/pull/2255#issuecomment-401028473,https://api.github.com/repos/pydata/xarray/issues/2255,401028473,MDEyOklzc3VlQ29tbWVudDQwMTAyODQ3Mw==,306380,2018-06-28T13:08:58Z,2018-06-29T14:00:19Z,MEMBER,"```python
import os
if not os.path.exists('myfile.tif'):
import requests
response = requests.get('https://oin-hotosm.s3.amazonaws.com/5abae68e65bd8f00110f3e42/0/5abae68e65bd8f00110f3e43.tif')
with open('myfile.tif', 'wb') as f:
f.write(response.content)
import dask
dask.config.set({'array.chunk-size': '1MiB'})
import xarray as xr
ds = xr.open_rasterio('myfile.tif', chunks=True) # this only reads metadata to start
>>> ds.chunks
((1, 1, 1),
(1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 136),
(1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 995))
```
Also depends on https://github.com/dask/dask/pull/3679 . Without that PR it will use values that are similar, but don't precisely align with 1024.
Oh, I should point out that the image has tiles of size (512, 512)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,336371511