Skip to content

BUG: Bilinear dtype promotion #2058

@cpelley

Description

@cpelley

Currently bilinear regridding gives unexpected results for source data which is of boolean or unsigned integer type due to the way that type promotion is currently handled here

An easy fix is the following:

dtype = np.promote_types(dtype, 'float16')

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleA stale issue/pull-request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions