Skip to content

Masking issue with nearest_s2d interpolation #416

@sidekock

Description

@sidekock

I am trying to reproject satellite data to a custom grid using nearest_s2d interpolation.

Since the satellite does not fully cover the domain, the interpolation will take the closest value. I wanted to mask that part in my target, so I calculated my target grid's mask (no data=0, data = 1) and also added a mask to my satellite dataset (all one since the satellite has data in its projection). The resulting regridder however does not mask the area given by the mask in the target. Am I doing something wrong or is this not the way the masking is meant to be used?

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