issues: 262847801
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 262847801 | MDU6SXNzdWUyNjI4NDc4MDE= | 1605 | Resample interpolate failing on tutorial dataset | 2443309 | closed | 0 | 3 | 2017-10-04T16:17:56Z | 2017-10-05T16:34:14Z | 2017-10-05T16:34:14Z | MEMBER | I'm getting some unexpected behavior/errors from the new resample/interpolate methods. @darothen - any idea what's going on here? ```Python-traceback In [1]: import xarray as xr In [2]: ds = xr.tutorial.load_dataset('air_temperature') In [3]: ds.resample(time='15d').interpolate(kind='linear')AttributeError Traceback (most recent call last) <ipython-input-3-ef931d7ebbda> in <module>() ----> 1 ds.resample(time='15d').interpolate(kind='linear') /glade/p/work/jhamman/storylines/src/xarray/xarray/core/resample.py in interpolate(self, kind) 110 111 """ --> 112 return self._interpolate(kind=kind) 113 114 def _interpolate(self, kind='linear'): /glade/p/work/jhamman/storylines/src/xarray/xarray/core/resample.py in _interpolate(self, kind) 312 313 old_times = self._obj[self._dim].astype(float) --> 314 new_times = self._full_index.values.astype(float) 315 316 data_vars = OrderedDict() AttributeError: 'NoneType' object has no attribute 'values' ``` |
{
"url": "https://api.github.com/repos/pydata/xarray/issues/1605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |