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/1475#issuecomment-314862336,https://api.github.com/repos/pydata/xarray/issues/1475,314862336,MDEyOklzc3VlQ29tbWVudDMxNDg2MjMzNg==,25473287,2017-07-12T18:50:02Z,2017-07-13T01:48:32Z,NONE,"> Probably the simplest option is to use structured dtypes, which should already work with the existing version of xarray, e.g., Thanks, that's a nice trick! Supporting da.x_bounds['start'] will definitely be helpful! However, I am still concerned about 2D boundaries. Using the structured data type, 2D bounds will be an array of size (Nx,Ny,4) instead of (Nx+1,Ny+1). Although this matches the [CF convention](http://cfconventions.org/cf-conventions/v1.6.0/cf-conventions.html#cell-boundaries), it takes 4x memory and needs to be converted back to (Nx+1,Ny+1) for `pcolormesh()`. Not a big problem though. I will be happy to go this way if (Nx+1,Ny+1)-sized bounds cannot be implemented.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,242181620 https://github.com/pydata/xarray/issues/1475#issuecomment-314604740,https://api.github.com/repos/pydata/xarray/issues/1475,314604740,MDEyOklzc3VlQ29tbWVudDMxNDYwNDc0MA==,25473287,2017-07-11T23:58:20Z,2017-07-11T23:58:20Z,NONE,"> See also #1079 and #1079 (comment) Thanks! The idea of `NDIntervalIndex` mentioned at [pandas-dev/pandas#7640 comment](https://github.com/pandas-dev/pandas/issues/7640#issuecomment-71794646) seems powerful but too complicated to implement? Could there be a simpler way to hook the boundary attribute to DataArray?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,242181620