issue_comments: 706749409
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/4495#issuecomment-706749409 | https://api.github.com/repos/pydata/xarray/issues/4495 | 706749409 | MDEyOklzc3VlQ29tbWVudDcwNjc0OTQwOQ== | 10194086 | 2020-10-11T18:43:48Z | 2020-10-11T18:43:48Z | MEMBER | To reproduce: ```python import numpy as np import xarray as xr time1 = xr.cftime_range("2000", "2000-12-31", calendar="standard") time2 = xr.cftime_range("2001", "2001-12-31", calendar="proleptic_gregorian") da1 = xr.DataArray(np.random.randn(366), dims="time", coords=dict(time=time1)).to_dataset(name="name") da2 = xr.DataArray(np.random.randn(365), dims="time", coords=dict(time=time2)).to_dataset(name="name") xr.combine_by_coords([da1, da2])
Funny enough this does trigger the correct error: ```python time3 = xr.cftime_range("2000", "2000-12-31", calendar="proleptic_gregorian") da3 = xr.DataArray(np.random.randn(366), dims="time", coords=dict(time=time3)).to_dataset(name="name") xr.combine_by_coords([da1, da3]) ```
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
717217552 |