(self)
| 4332 | data.to_stacked_array("features", sample_dims=["y"]) |
| 4333 | |
| 4334 | def test_to_stacked_array_name(self) -> None: |
| 4335 | name = "adf9d" |
| 4336 | |
| 4337 | # make a two dimensional dataset |
| 4338 | a, b = create_test_stacked_array() |
| 4339 | D = xr.Dataset({"a": a, "b": b}) |
| 4340 | sample_dims = ["x"] |
| 4341 | |
| 4342 | y = D.to_stacked_array("features", sample_dims, name=name) |
| 4343 | assert y.name == name |
| 4344 | |
| 4345 | def test_to_stacked_array_dtype_dims(self) -> None: |
| 4346 | # make a two dimensional dataset |
nothing calls this directly
no test coverage detected