Return this variable as a base xarray.Variable
(self)
| 559 | self.data = values |
| 560 | |
| 561 | def to_base_variable(self) -> Variable: |
| 562 | """Return this variable as a base xarray.Variable""" |
| 563 | return Variable( |
| 564 | self._dims, self._data, self._attrs, encoding=self._encoding, fastpath=True |
| 565 | ) |
| 566 | |
| 567 | to_variable = utils.alias(to_base_variable, "to_variable") |
| 568 |