issues: 101858170
This data as json
| id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 101858170 | MDU6SXNzdWUxMDE4NTgxNzA= | 541 | writing DataArray with 2D datetime variable doesn't work | 358378 | closed | 0 | 1 | 2015-08-19T10:28:32Z | 2015-08-19T16:20:37Z | 2015-08-19T16:20:37Z | CONTRIBUTOR | On xray 0.5.1, writing a Dataset with a non-1D-datetime variable to netCDF doesn't work: ``` times = xray.DataArray([[datetime.datetime.now()] * 2]) print times <xray.DataArray (dim_0: 1, dim_1: 2)> array([['2015-08-19T14:27:50.911502000+0200', '2015-08-19T14:27:50.911502000+0200']], dtype='datetime64[ns]') Coordinates: * dim_0 (dim_0) int64 0 * dim_1 (dim_1) int64 0 1 times.to_dataset().to_netcdf('test.nc') ``` raises
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |