Skip to content

Too narrow types; regridding functions can also take xr.DataArray types as argument #64

@jensdebruijn

Description

@jensdebruijn

Hello!

I noticed that all of the regridding functions only take xr.DataSet as a type argument, but can also receive a xr.DataArray.

xr.DataSet

->

xr.DataArray | xr.DataSet

One example is here, but it is the case for all of the regridders;

ds_target_grid: xr.Dataset,

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