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/1466#issuecomment-311656405,https://api.github.com/repos/pydata/xarray/issues/1466,311656405,MDEyOklzc3VlQ29tbWVudDMxMTY1NjQwNQ==,3585769,2017-06-28T13:15:35Z,2017-06-28T13:15:35Z,CONTRIBUTOR,"@fmaussion sorry for the delay. Looks like the switch to an actual `CRS` class happened just before `rasterio=0.36` ([commit](https://github.com/mapbox/rasterio/commit/a7e7cbef6374abc94b46980bc188dba2004d0172)), which was the last `0.x` release before the alphas for `1.0` started up. Previously this `to_string` capability was a function inside of `rasterio.crs`, and now it's just on the `rasterio.crs.CRS` class. Quite a bit of reorganization happened between `0.36` and `1.0a`, so I'd agree sticking to `rasterio>1.0a` would be best. For specifying the requirement, I guess we would put it in `extra_requires`? Dask does a nice job of this for its various components ([their setup.py](https://github.com/dask/dask/blob/master/setup.py)).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,238731491 https://github.com/pydata/xarray/issues/1466#issuecomment-311249992,https://api.github.com/repos/pydata/xarray/issues/1466,311249992,MDEyOklzc3VlQ29tbWVudDMxMTI0OTk5Mg==,3585769,2017-06-27T04:30:34Z,2017-06-27T04:30:34Z,CONTRIBUTOR,"Could you include the version of `rasterio` that you have installed? It's an optional dependency for `xarray`, and so a little tricky to enforce a minimum version number for, but my first guess would be to check the version: ```bash python -c ""import rasterio; print(rasterio.__version__)"" ``` At one point in rasterio's development, the CRS information was stored as an simple `dict` instead of a `rasterio.crs.CRS`, which has a `to_string` method. Rasterio has been developing pretty rapidly, and it looks like it had been using a simple `dict` as soon as March, 2016 (version `0.33`). The tests for `xarray` are running against `rasterio=1.0a9` specifically (see [docs/environment.yml](https://github.com/pydata/xarray/blob/e39dae4c4ba83de09bea16ed5b3132ce4e88ba98/doc/environment.yml)), but any of the recent 1.0 alpha releases of `rasterio` will likely work. If your copy of `rasterio` is older than `1.0a[something]`, it might be as simple as upgrading the package.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,238731491