The test dataset 's3://fused-asset/misc/kristin/sif_ann_201508b.nc' results in a xarray.DataArray object, rather than the expected xarray.Dataset object, when opened with rioxarray.open_rasterio(path).
The UDF should handle both xarray object types, and the try/except block should also catch and report unexpected exceptions.
The test dataset 's3://fused-asset/misc/kristin/sif_ann_201508b.nc' results in a
xarray.DataArrayobject, rather than the expectedxarray.Datasetobject, when opened withrioxarray.open_rasterio(path).The UDF should handle both xarray object types, and the try/except block should also catch and report unexpected exceptions.