An immutable Dataset-like view onto the data in this node. Includes inherited coordinates and indexes from parent nodes. For a mutable Dataset containing the same data as in this node, use `.to_dataset()` instead. See Also -------- DataTree
(self)
| 672 | |
| 673 | @property |
| 674 | def dataset(self) -> DatasetView: |
| 675 | """ |
| 676 | An immutable Dataset-like view onto the data in this node. |
| 677 | |
| 678 | Includes inherited coordinates and indexes from parent nodes. |
| 679 | |
| 680 | For a mutable Dataset containing the same data as in this node, use |
| 681 | `.to_dataset()` instead. |
| 682 | |
| 683 | See Also |
| 684 | -------- |
| 685 | DataTree.to_dataset |
| 686 | """ |
| 687 | return self._to_dataset_view(rebuild_dims=True, inherit=True) |
| 688 | |
| 689 | @dataset.setter |
| 690 | def dataset(self, data: Dataset | None = None) -> None: |
nothing calls this directly
no test coverage detected