Skip to content

Pyresample cannot be used for gapfilling due to geometries_are_the_same check #660

@ameraner

Description

@ameraner

I have a use case where I would like to use the nearest neighbour approach to fill some gaps in my data. In other words, I would like to resample a Scene to its own same area again. If I do this, currently the resampling is skipped due to:

if self._geometries_are_the_same():
return data

which is (rightfully) implemented for optimisation purposes.

A solution could be to add a kwarg skip_if_same_geometry=True to resample, in order to be able to force the resampling when False is passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions