issues: 95222803
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
95222803 | MDU6SXNzdWU5NTIyMjgwMw== | 476 | to_netcdf failing for datasets with a single time value | 1872600 | closed | 0 | 2 | 2015-07-15T15:26:02Z | 2015-07-16T02:17:31Z | 2015-07-16T02:17:31Z | NONE | In this notebook: http://nbviewer.ipython.org/gist/rsignell-usgs/047235496029529585cc, the
``` /home/usgs/miniconda/envs/ioos/lib/python2.7/site-packages/xray/conventions.pyc in infer_datetime_units(dates) 185 unique_timedeltas = np.unique(np.diff(dates[pd.notnull(dates)])) 186 units = _infer_time_units_from_diff(unique_timedeltas) --> 187 return '%s since %s' % (units, pd.Timestamp(dates[0])) 188 189 IndexError: too many indices for array ``` When there is a single value, I guess |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/476/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |