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/3661#issuecomment-1179612145,https://api.github.com/repos/pydata/xarray/issues/3661,1179612145,IC_kwDOAMm_X85GT3Px,84738611,2022-07-09T21:54:21Z,2022-07-09T21:54:21Z,NONE,"> I got the solution by my own: > > ``` > xarray.DataArray(frames_z,coords={""time"": timestamps, ""latitude"": ([""x"",""y""], grid[:, :, 1]), > ""longitude"": ([""x"",""y""], grid[:, :, 0])}, > dims=[""time"", ""x"",""y""]) > ``` > > Would be great to have such an example in the documentation. Can you tell me how to contribute this to the documentation? Thanks. This helped me.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,545297609 https://github.com/pydata/xarray/issues/3661#issuecomment-843157029,https://api.github.com/repos/pydata/xarray/issues/3661,843157029,MDEyOklzc3VlQ29tbWVudDg0MzE1NzAyOQ==,8809578,2021-05-18T13:08:39Z,2021-05-18T13:08:39Z,CONTRIBUTOR,"For people of the future: the doc is here : http://xarray.pydata.org/en/stable/user-guide/data-structures.html search for this line ""As a dictionary with coords across multiple dimensions:"" ","{""total_count"": 1, ""+1"": 0, ""-1"": 1, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,545297609 https://github.com/pydata/xarray/issues/3661#issuecomment-570800135,https://api.github.com/repos/pydata/xarray/issues/3661,570800135,MDEyOklzc3VlQ29tbWVudDU3MDgwMDEzNQ==,27021858,2020-01-04T16:43:55Z,2020-01-04T16:44:15Z,NONE,"I got the solution by my own: ``` xarray.DataArray(frames_z,coords={""time"": timestamps, ""latitude"": ([""x"",""y""], grid[:, :, 1]), ""longitude"": ([""x"",""y""], grid[:, :, 0])}, dims=[""time"", ""x"",""y""]) ``` Would be great to have such an example in the documentation. Can you tell me how to contribute this to the documentation?","{""total_count"": 12, ""+1"": 6, ""-1"": 0, ""laugh"": 0, ""hooray"": 5, ""confused"": 0, ""heart"": 0, ""rocket"": 1, ""eyes"": 0}",,545297609