Version
2026.08.1
How did you install UXarray?
Source
What happened?
(Bug discovered by @erogluorhan) Calling UxDataArray.astype(...) returns an xarray.DataArray.
What did you expect to happen?
It should return a UxDataArray instead.
Can you provide a MCVE to repoduce the bug?
import uxarray as ux
uxarr = ux.tutorial.open_dataset('quad-hexagon')['t2m']
result = uxarr.astype('float64')
type(result) # expected UxDataArray; got xarray.DataArray.
Version
2026.08.1
How did you install UXarray?
Source
What happened?
(Bug discovered by @erogluorhan) Calling UxDataArray.astype(...) returns an xarray.DataArray.
What did you expect to happen?
It should return a UxDataArray instead.
Can you provide a MCVE to repoduce the bug?