issue_comments: 571689678
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/3666#issuecomment-571689678 | https://api.github.com/repos/pydata/xarray/issues/3666 | 571689678 | MDEyOklzc3VlQ29tbWVudDU3MTY4OTY3OA== | 22454970 | 2020-01-07T17:31:53Z | 2020-01-07T17:31:53Z | NONE | FYI - @dcherian @keewis ... thanks for the suggestions and help This final small change (dropping time values before replacing with the common calendar) has gotten all cases in the xclim code test suite running against the xarray@master... Feel free to close ````dslist =[] for d in datasets: ds = xr.open_dataset(d, chunks=dict(time=10), decode_times=False) cal1 = xr.decode_cf(ds).time ds = ds.drop_vars('time') ds["time"] = pd.to_datetime( { "year": cal1.time.dt.year, "month": cal1.time.dt.month, "day": cal1.time.dt.day, } ).values dslist.append(ds) ens1 = xr.concat(dslist,dim='realization') ens1 = ensembles.create_ensemble(datasets)print(ens1) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
546303413 |