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/pull/895#issuecomment-723660214,https://api.github.com/repos/pydata/xarray/issues/895,723660214,MDEyOklzc3VlQ29tbWVudDcyMzY2MDIxNA==,10194086,2020-11-08T20:18:01Z,2020-11-08T20:18:01Z,MEMBER,I am closing this as stale. Half of this OR is implemented (#2732) the other half is #1754. ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,164948082 https://github.com/pydata/xarray/pull/895#issuecomment-459629820,https://api.github.com/repos/pydata/xarray/issues/895,459629820,MDEyOklzc3VlQ29tbWVudDQ1OTYyOTgyMA==,10194086,2019-02-01T07:16:25Z,2019-02-01T07:16:56Z,MEMBER,Once #2732 is merged (#2380) the first issue from the list should be resolved. I'd still be interested to get No 2 in.Maybe it would be better to open a new PR?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,164948082 https://github.com/pydata/xarray/pull/895#issuecomment-232002705,https://api.github.com/repos/pydata/xarray/issues/895,232002705,MDEyOklzc3VlQ29tbWVudDIzMjAwMjcwNQ==,10194086,2016-07-12T10:37:50Z,2016-07-12T10:37:50Z,MEMBER,"I like (2) - I once needed this functionality and had to infer the `drop_vars`. ``` def get_drop_vars(variables, ds): if isinstance(variables, basestring): variables = [variables] else: variables = list(variables) # all variables drop_var = set(ds.variables.keys()) # do not drop: coordinates, variables and time bounds keep_var = ds.coords.keys() + variables + ['time_bounds', 'time_bnds'] drop_var.difference_update(keep_var) return drop_var` ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,164948082