(map_ds)
| 1521 | |
| 1522 | |
| 1523 | def test_make_meta(map_ds): |
| 1524 | from xarray.core.parallel import make_meta |
| 1525 | |
| 1526 | meta = make_meta(map_ds) |
| 1527 | |
| 1528 | for variable in map_ds._coord_names: |
| 1529 | assert variable in meta._coord_names |
| 1530 | assert meta.coords[variable].shape == (0,) * meta.coords[variable].ndim |
| 1531 | |
| 1532 | for variable in map_ds.data_vars: |
| 1533 | assert variable in meta.data_vars |
| 1534 | assert meta.data_vars[variable].shape == (0,) * meta.data_vars[variable].ndim |
| 1535 | |
| 1536 | |
| 1537 | def test_identical_coords_no_computes(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…