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/4863#issuecomment-892746284,https://api.github.com/repos/pydata/xarray/issues/4863,892746284,IC_kwDOAMm_X841Njos,14808389,2021-08-04T15:17:51Z,2021-08-04T15:17:51Z,MEMBER,"that name is temporary, which means it is only visible within the user function. `call_on_dataset` returns the original name (which I think means the user function shouldn't rename, because that would be silently undone)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,801728730
https://github.com/pydata/xarray/pull/4863#issuecomment-885952834,https://api.github.com/repos/pydata/xarray/issues/4863,885952834,IC_kwDOAMm_X840zpFC,14808389,2021-07-23T22:59:13Z,2021-07-23T22:59:13Z,MEMBER,"> IIUC people can do .rename rather than passing a name.
passing the name makes it cleaner, but we could also add a default value (`THIS_ARRAY`?).","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,801728730
https://github.com/pydata/xarray/pull/4863#issuecomment-817134098,https://api.github.com/repos/pydata/xarray/issues/4863,817134098,MDEyOklzc3VlQ29tbWVudDgxNzEzNDA5OA==,14808389,2021-04-10T13:07:13Z,2021-04-10T13:08:05Z,MEMBER,"upon further consideration, I think we have the choice between using a generic name, raising for unnamed `DataArray` objects or adding a `name` parameter, with a default to `None` / the `THIS_ARRAY` object which would be similar to saying ""I don't care about the name"" (and either always use that name or only for unnamed `DataArray` objects).
I think I would prefer option 3a (always use the passed name, even if the `DataArray` already had a name).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,801728730
https://github.com/pydata/xarray/pull/4863#issuecomment-799663264,https://api.github.com/repos/pydata/xarray/issues/4863,799663264,MDEyOklzc3VlQ29tbWVudDc5OTY2MzI2NA==,14808389,2021-03-15T18:44:19Z,2021-03-15T18:44:19Z,MEMBER,"I switched to `dataarray_to_dataset` instead of `_to_temp_dataset`. However, it might be important to be able to reference the data variable by name, which leaves us two choices: move `_THIS_ARRAY` to the public namespace or rename to a string. I chose the latter (not sure if there's a better choice) and modified the notes.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,801728730
https://github.com/pydata/xarray/pull/4863#issuecomment-797034254,https://api.github.com/repos/pydata/xarray/issues/4863,797034254,MDEyOklzc3VlQ29tbWVudDc5NzAzNDI1NA==,14808389,2021-03-11T20:40:21Z,2021-03-11T20:40:21Z,MEMBER,"`call_on_dataset`, maybe?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,801728730
https://github.com/pydata/xarray/pull/4863#issuecomment-773688928,https://api.github.com/repos/pydata/xarray/issues/4863,773688928,MDEyOklzc3VlQ29tbWVudDc3MzY4ODkyOA==,14808389,2021-02-05T00:14:33Z,2021-02-05T00:14:33Z,MEMBER,"sure, although I would use
```
xr.apply_as_dataset(func_that_expects_datasets, dataset_or_dataarray, *args, **kwargs)
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,801728730