Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tylere opened this issue Oct 17, 2024 · 1 comment

Comments

@tylere
Copy link
Contributor

tylere commented Oct 17, 2024

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 tylere changed the title NetCDF_File opener fails to load NetCDF dataset that creates an xarray. NetCDF_File opener fails to load NetCDF dataset that creates an xarray.DataArray Oct 17, 2024
@tylere
Copy link
Contributor Author

tylere commented Oct 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant