issues: 319085244
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
319085244 | MDU6SXNzdWUzMTkwODUyNDQ= | 2095 | combine complementary DataArrays | 5308236 | closed | 0 | 1 | 2018-05-01T01:02:26Z | 2018-05-02T01:34:53Z | 2018-05-02T01:34:52Z | NONE | I have a list of DataArrays with three dimensions. For each item in the list, two of the dimensions are a single value but the combination of all items would yield the full combinatorial values. Code Sample```python import itertools import numpy as np import xarray as xr
``` Expected OutputI then want to combine these complimentary The following do not work: ```python # does not automatically infer dimensions and fails with # "ValueError: conflicting sizes for dimension 'concat_dim': length 2 on 'concat_dim' and length 6 on <this-array>" ds = xr.concat(ds, dim=['dim1', 'dim2'])
``` Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2095/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |