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/4507#issuecomment-707800003,https://api.github.com/repos/pydata/xarray/issues/4507,707800003,MDEyOklzc3VlQ29tbWVudDcwNzgwMDAwMw==,22542812,2020-10-13T14:59:36Z,2020-10-13T14:59:36Z,NONE,"I agree, that the given example problem is related to a `tolerance`.

In principle, I see the problem in the current practice of just dropping data that doesn't align. If I perform an assignment `=`, I do not expect to lose any data.

Another example would be assigning:

```python
dataset['data2'] = xr.DataArray(np.random.random(50), dims=['x'], coords={'x': np.linspace(2, 12)})
```

This line of code would effectively do nothing, I generate data and upon assignment it is dropped.

But this might be a bit of a physiological question, what the governing design principle is. Personally I think, an assignment should only be possible if the assigned coordinates are a subset of the dataset's coordinates.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,720315478
https://github.com/pydata/xarray/issues/4507#issuecomment-707788148,https://api.github.com/repos/pydata/xarray/issues/4507,707788148,MDEyOklzc3VlQ29tbWVudDcwNzc4ODE0OA==,14808389,2020-10-13T14:43:40Z,2020-10-13T14:46:22Z,MEMBER,"this might be a duplicate of #2217.

If you're interested in this you might want to have a look at #4489 (and #4467?) which introduces a `tolerance` parameter to `align`.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,720315478