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/1340#issuecomment-478764395,https://api.github.com/repos/pydata/xarray/issues/1340,478764395,MDEyOklzc3VlQ29tbWVudDQ3ODc2NDM5NQ==,26384082,2019-04-01T22:03:37Z,2019-04-01T22:03:37Z,NONE,"In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here or remove the `stale` label; otherwise it will be marked as closed automatically ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-298433889,https://api.github.com/repos/pydata/xarray/issues/1340,298433889,MDEyOklzc3VlQ29tbWVudDI5ODQzMzg4OQ==,1217238,2017-05-01T21:11:15Z,2017-05-01T21:11:15Z,MEMBER,"@karenamckinnon In this case, it was in the file paths, i.e., `/glade/apps/opt/pandas/0.14.0/gnu/4.8.2/lib/python2.7/site-packages/pandas-0.14.0-py2.7-linux-x86_64.egg/pandas/core/index.pyc`","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-298432849,https://api.github.com/repos/pydata/xarray/issues/1340,298432849,MDEyOklzc3VlQ29tbWVudDI5ODQzMjg0OQ==,8631291,2017-05-01T21:06:45Z,2017-05-01T21:06:45Z,NONE,"Got it, thanks @shoyer ! In case this happens again, which component of the traceback provided that information to you? ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-297572440,https://api.github.com/repos/pydata/xarray/issues/1340,297572440,MDEyOklzc3VlQ29tbWVudDI5NzU3MjQ0MA==,1217238,2017-04-26T23:48:29Z,2017-04-26T23:48:29Z,MEMBER,"@karenamckinnon From your traceback, it looks like you're using pandas 0.14, but xarray requires at least pandas 0.15.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-297571218,https://api.github.com/repos/pydata/xarray/issues/1340,297571218,MDEyOklzc3VlQ29tbWVudDI5NzU3MTIxOA==,8631291,2017-04-26T23:40:01Z,2017-04-26T23:40:01Z,NONE,"``` TypeErrorTraceback (most recent call last) in () ----> 1 ds = xr.open_mfdataset(files[:2], concat_dim='time') /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/backends/api.pyc in open_mfdataset(paths, chunks, concat_dim, preprocess, engine, lock, **kwargs) 304 datasets = [preprocess(ds) for ds in datasets] 305 --> 306 combined = auto_combine(datasets, concat_dim=concat_dim) 307 combined._file_obj = _MultiFileCloser(file_objs) 308 return combined /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/core/combine.pyc in auto_combine(datasets, concat_dim) 376 grouped = itertoolz.groupby(lambda ds: tuple(sorted(ds.data_vars)), 377 datasets).values() --> 378 concatenated = [_auto_concat(ds, dim=concat_dim) for ds in grouped] 379 merged = merge(concatenated) 380 return merged /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/core/combine.pyc in _auto_concat(datasets, dim) 327 'explicitly') 328 dim, = concat_dims --> 329 return concat(datasets, dim=dim) 330 331 /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/core/combine.pyc in concat(objs, dim, data_vars, coords, compat, positions, indexers, mode, concat_over) 115 raise TypeError('can only concatenate xarray Dataset and DataArray ' 116 'objects, got %s' % type(first_obj)) --> 117 return f(objs, dim, data_vars, coords, compat, positions) 118 119 /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/core/combine.pyc in _dataset_concat(datasets, dim, data_vars, coords, compat, positions) 206 dim, coord = _calc_concat_dim_coord(dim) 207 datasets = [as_dataset(ds) for ds in datasets] --> 208 datasets = align(*datasets, join='outer', copy=False, exclude=[dim]) 209 210 concat_over = _calc_concat_over(datasets, dim, data_vars, coords) /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/core/alignment.pyc in align(*objects, **kwargs) 78 all_indexes = defaultdict(list) 79 for obj in objects: ---> 80 for dim, index in iteritems(obj.indexes): 81 if dim not in exclude: 82 all_indexes[dim].append(index) /glade/apps/opt/python/2.7.7/gnu-westmere/4.8.2/lib/python2.7/_abcoll.pyc in iteritems(self) 385 'D.iteritems() -> an iterator over the (key, value) items of D' 386 for key in self: --> 387 yield (key, self[key]) 388 389 def keys(self): /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/core/coordinates.pyc in __getitem__(self, key) 245 def __getitem__(self, key): 246 if key in self: --> 247 return self._variables[key].to_index() 248 else: 249 raise KeyError(key) /glade/u/home/mckinnon/.local/lib/python2.7/site-packages/xarray/core/variable.pyc in to_index(self) 1173 index = index.set_names(valid_level_names) 1174 else: -> 1175 index = index.set_names(self.name) 1176 return index 1177 /glade/apps/opt/pandas/0.14.0/gnu/4.8.2/lib/python2.7/site-packages/pandas-0.14.0-py2.7-linux-x86_64.egg/pandas/core/index.pyc in set_names(self, names, inplace) 380 """""" 381 if not com.is_list_like(names): --> 382 raise TypeError(""Must pass list-like as `names`."") 383 if inplace: 384 idx = self TypeError: Must pass list-like as `names`. ```","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-297566576,https://api.github.com/repos/pydata/xarray/issues/1340,297566576,MDEyOklzc3VlQ29tbWVudDI5NzU2NjU3Ng==,1217238,2017-04-26T23:08:55Z,2017-04-26T23:08:55Z,MEMBER,@karenamckinnon could you please share a traceback for the error?,"{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-297564148,https://api.github.com/repos/pydata/xarray/issues/1340,297564148,MDEyOklzc3VlQ29tbWVudDI5NzU2NDE0OA==,8631291,2017-04-26T22:54:01Z,2017-04-26T22:54:01Z,NONE,"I'm running into the same problem as Ryan, regarding the ValueError. However, when I try the same fix `ds = xr.open_mfdataset(files[:4], concat_dim = 'time')` I get the error `TypeError: Must pass list-like as `names`.` Apologies if this should be on a different chain, but any idea what might be going on? ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-290484162,https://api.github.com/repos/pydata/xarray/issues/1340,290484162,MDEyOklzc3VlQ29tbWVudDI5MDQ4NDE2Mg==,1197350,2017-03-30T17:33:02Z,2017-03-30T17:33:02Z,MEMBER,This sounds like the kind of thing I could manage.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-290480036,https://api.github.com/repos/pydata/xarray/issues/1340,290480036,MDEyOklzc3VlQ29tbWVudDI5MDQ4MDAzNg==,1217238,2017-03-30T17:18:22Z,2017-03-30T17:18:22Z,MEMBER,"Indeed, it's not. We should add some way to pipe this arguments through `auto_combine` on to `concat`.","{""total_count"": 3, ""+1"": 3, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-290478206,https://api.github.com/repos/pydata/xarray/issues/1340,290478206,MDEyOklzc3VlQ29tbWVudDI5MDQ3ODIwNg==,1197350,2017-03-30T17:12:01Z,2017-03-30T17:12:01Z,MEMBER,"`coords` is not a valid kwarg for open_mfdataset http://xarray.pydata.org/en/latest/generated/xarray.open_mfdataset.html#xarray-open-mfdataset","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909 https://github.com/pydata/xarray/issues/1340#issuecomment-290477014,https://api.github.com/repos/pydata/xarray/issues/1340,290477014,MDEyOklzc3VlQ29tbWVudDI5MDQ3NzAxNA==,1217238,2017-03-30T17:07:50Z,2017-03-30T17:07:50Z,MEMBER,"My strong suspicion is that the bottleneck here is xarray checking all the coordinates for equality in concat, when deciding whether to add a ""time"" dimension or not. Try passing `coords='minimal'` and see if that speeds things up. See the `concat` documentation for details: http://xarray.pydata.org/en/stable/generated/xarray.concat.html#xarray.concat This was a convenient check for small/in-memory datasets but possibly it's not a good one going forward. It's generally slow to load all the coordinate data for comparisons, but it's even worse with the current implementation, which computes pair-wise comparisons of arrays with dask instead of doing them in parallel all at once.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,218260909