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 492866552,MDExOlB1bGxSZXF1ZXN0MzE2OTU1NzE2,3302,interpolate_na: Add max_gap support.,2448579,closed,0,,,19,2019-09-12T15:07:20Z,2019-11-15T19:49:12Z,2019-11-15T14:53:17Z,MEMBER,,0,pydata/xarray/pulls/3302," - [x] Closes #2392 - [x] Tests added - [x] Passes `black . && mypy . && flake8` - [x] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API @dnowacki-usgs : can you look this over and test it out if you have time? feel free to push any changes to this branch :) ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/3302/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull 492876241,MDU6SXNzdWU0OTI4NzYyNDE=,3303,dask master test failure,2448579,closed,0,,,2,2019-09-12T15:24:14Z,2019-09-12T19:41:15Z,2019-09-12T19:41:15Z,MEMBER,,,,"Failure on `py37-upstream-dev` with `dask 2.3.0+32.gefb1743e pypi_0 pypi` ``` =================================== FAILURES =================================== ____________________________ test_interpolate_dask _____________________________ @requires_dask def test_interpolate_dask(): da, _ = make_interpolate_example_data((40, 40), 0.5) da = da.chunk({""x"": 5}) > actual = da.interpolate_na(""time"") xarray/tests/test_missing.py:312: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xarray/core/dataarray.py:2018: in interpolate_na **kwargs xarray/core/missing.py:250: in interp_na keep_attrs=True, xarray/core/computation.py:1057: in apply_ufunc keep_attrs=keep_attrs xarray/core/computation.py:239: in apply_dataarray_vfunc result_var = func(*data_vars) xarray/core/computation.py:609: in apply_variable_ufunc result_data = func(*input_data) xarray/core/computation.py:599: in func output_sizes, xarray/core/computation.py:729: in _apply_blockwise new_axes=output_sizes /usr/share/miniconda/envs/xarray-tests/lib/python3.7/site-packages/dask/array/blockwise.py:195: in blockwise token or utils.funcname(func).strip(""_""), _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = def funcname(func): """"""Get the name of a function."""""" # functools.partial if isinstance(func, functools.partial): return funcname(func.func) # methodcaller if isinstance(func, methodcaller): return func.method module_name = getattr(func, ""__module__"", None) or """" type_name = getattr(type(func), ""__name__"", None) or """" # toolz.curry if ""toolz"" in module_name and ""curry"" == type_name: return func.func_name # multipledispatch objects if ""multipledispatch"" in module_name and ""Dispatcher"" == type_name: return func.name # numpy.vectorize objects if ""numpy"" in module_name and ""vectorize"" == type_name: > return ""vectorize_"" + func.pyfunc.__name__ E AttributeError: 'functools.partial' object has no attribute '__name__' ```","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/3303/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue