Skip to content

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

Open

Description

@tylere

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.

Activity

  1. 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[/+] on Oct 17, 2024
  2. tylere commented on Oct 17, 2024

    @tylere
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions