Skip to content

Commit

Permalink
Use create_gradient_search_resampler()
Browse files Browse the repository at this point in the history
  • Loading branch information
pnuu committed Dec 12, 2023
1 parent 338817d commit 0d2312a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions satpy/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
from packaging import version
from pyresample.ewa import DaskEWAResampler, LegacyDaskEWAResampler
from pyresample.geometry import SwathDefinition
from pyresample.gradient import GradientSearchResampler
from pyresample.gradient import create_gradient_search_resampler
from pyresample.resampler import BaseResampler as PRBaseResampler

from satpy._config import config_search_paths, get_config_path
Expand Down Expand Up @@ -1009,7 +1009,7 @@ def compute(self, data, fill_value=np.nan, categories=None, **kwargs):
"nearest": KDTreeResampler,
"bilinear": BilinearResampler,
"native": NativeResampler,
"gradient_search": GradientSearchResampler,
"gradient_search": create_gradient_search_resampler,
"bucket_avg": BucketAvg,
"bucket_sum": BucketSum,
"bucket_count": BucketCount,
Expand Down

0 comments on commit 0d2312a

Please sign in to comment.