issue_comments: 473810333
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/2811#issuecomment-473810333 | https://api.github.com/repos/pydata/xarray/issues/2811 | 473810333 | MDEyOklzc3VlQ29tbWVudDQ3MzgxMDMzMw== | 5821660 | 2019-03-18T08:13:47Z | 2019-03-18T08:13:47Z | MEMBER | @shoyer Attached the description of the issue source and kind of workaround. During After several checks the affected variables are treated and added to The comment indicates what you already mentioned, that the reorder might be unintentional. But due to the handling in two separate iterations over This can be worked around by changing the second iteration to: ```python re-initialize result_vars to write in correct orderresult_vars = OrderedDict() stack up each variable to fill-out the dataset (in order)for k in datasets[0].variables:
if k in concat_over:
vars = ensure_common_dims([ds.variables[k] for ds in datasets])
combined = concat_vars(vars, dim, positions)
insert_result_variable(k, combined)
else:
insert_result_variable(k, datasets[0].variables[k]) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
420930870 |