iris
<-> xarray
conversion issues
#379
Labels
xarray transition
Part of the transition to xarray support
Milestone
Keeping track of issues encountering when converting between
iris
Cubes andxarray
DataArrays:xarray
->iris
->xarray
) of integer DataArrays causes either aTypeError
forxarray < v2023.06
orRuntimeWarning
forxarray >= v2023.06
. This is due to the core data being converted to a masked array when converting to an iris Cube, and then xarray trying to fill said array with np.nan when converting backcube = da.to_iris().copy(da.data)
xarray
->iris
->xarray
)("x", "y")
->("dim_0", "dim_1")
xarray
uses coordvar_name
, whereasiris
usesstandard_name
standard_name
is not necessarily unique, which can cause problems in tobac. e.g. GOES ABI dataxr.CFTimeIndex(features["time"].to_numpy()).to_datetimeindex()
iris
cannot handle sub-second (e.g. ns) time valuesnp.datetime64[s]
before converting toiris
Please add any more issues that crop up
The text was updated successfully, but these errors were encountered: