xarray.Variable.to_variable

Variable.to_variable(self)

to_variable has been deprecated. Use to_base_variable instead.