(self)
| 566 | assert_identical(expected, actual) |
| 567 | |
| 568 | def test_auto_combine_2d(self): |
| 569 | ds = create_test_data |
| 570 | |
| 571 | partway1 = concat([ds(0), ds(3)], dim="dim1") |
| 572 | partway2 = concat([ds(1), ds(4)], dim="dim1") |
| 573 | partway3 = concat([ds(2), ds(5)], dim="dim1") |
| 574 | expected = concat([partway1, partway2, partway3], data_vars="all", dim="dim2") |
| 575 | |
| 576 | datasets = [[ds(0), ds(1), ds(2)], [ds(3), ds(4), ds(5)]] |
| 577 | result = combine_nested( |
| 578 | datasets, |
| 579 | data_vars="all", |
| 580 | concat_dim=["dim1", "dim2"], |
| 581 | ) |
| 582 | assert_equal(result, expected) |
| 583 | |
| 584 | def test_auto_combine_2d_combine_attrs_kwarg(self): |
| 585 | ds = lambda x: create_test_data(x, add_attrs=False) |
nothing calls this directly
no test coverage detected