udfs icon indicating copy to clipboard operation
udfs copied to clipboard

NetCDF_File opener fails to load NetCDF dataset that creates an xarray.DataArray

Open tylere opened this issue 1 year ago • 1 comments

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.

tylere avatar Oct 17 '24 17:10 tylere

Todo: find a NetCDF dataset for testing that resolves to an xarray.Dataset object.

tylere avatar Oct 17 '24 17:10 tylere