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/1152#issuecomment-264913502,https://api.github.com/repos/pydata/xarray/issues/1152,264913502,MDEyOklzc3VlQ29tbWVudDI2NDkxMzUwMg==,10050469,2016-12-05T17:09:34Z,2016-12-05T17:09:34Z,MEMBER,"> sometime coordinates really only describe the data variable(s) Yes. What I meant with my yesterday's late night answer is that keeping the coordinates around could be most useful when using irregular coordinates...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,193294729 https://github.com/pydata/xarray/issues/1152#issuecomment-264737209,https://api.github.com/repos/pydata/xarray/issues/1152,264737209,MDEyOklzc3VlQ29tbWVudDI2NDczNzIwOQ==,10050469,2016-12-04T22:35:54Z,2016-12-04T22:35:54Z,MEMBER,"I think it's fine. Coordinates sometimes need to be defined by paired coords too: ```python import xarray as xr import numpy as np lon, lat = np.meshgrid(np.linspace(-20, 20, 5), np.linspace(0, 30, 4)) da = xr.DataArray(np.arange(20).reshape(4, 5), dims=['y', 'x'], coords = {'lat': (('y', 'x'), lat), 'lon': (('y', 'x'), lon)}) da.isel(x=2)['lat'] array([ 0., 10., 20., 30.]) Coordinates: lon (y) float64 0.0 0.0 0.0 0.0 lat (y) float64 0.0 10.0 20.0 30.0 * y (y) int64 0 1 2 3 x int64 2 ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,193294729