issue_comments: 673729936
This data as json
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/4120#issuecomment-673729936 | https://api.github.com/repos/pydata/xarray/issues/4120 | 673729936 | MDEyOklzc3VlQ29tbWVudDY3MzcyOTkzNg== | 11411331 | 2020-08-13T21:56:14Z | 2020-08-13T21:56:46Z | CONTRIBUTOR | After some testing, I discovered that: ```python Your code hereimport xarray as xr xr.set_options(keep_attrs=True) # NOTE GLOBAL OPTION!!!! ds = xr.tutorial.load_dataset("air_temperature") ds2 = xr.tutorial.load_dataset("air_temperature") xr.testing.assert_identical(ds, ds2) # passes ds.coarsen(lat=5).mean() xr.testing.assert_identical(ds, ds2) # passes ``` makes your example pass. So, it seems that somewhere along the chain of functions the |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
630062936 |