Skip to content

Commit

Permalink
Avoid shadowing of pysteps.blending.utils by pysteps.utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ladc committed Aug 26, 2021
1 parent 779ff18 commit e9059cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pysteps/blending/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
from datetime import datetime, timedelta
from pysteps.cascade import get_method as cascade_get_method
from pysteps.cascade.bandpass_filters import filter_gaussian
from pysteps import utils, rcparams
from pysteps import rcparams
from pysteps.utils import get_method as utils_get_method
import os
import netCDF4

Expand Down Expand Up @@ -266,7 +267,7 @@ def decompose_NWP(

# Decompose the NWP data
filter_g = filter_gaussian(R_NWP.shape[1:], num_cascade_levels)
fft = utils.get_method(fft_method, shape=R_NWP.shape[1:], n_threads=1)
fft = utils_get_method(fft_method, shape=R_NWP.shape[1:], n_threads=1)
decomp_method, _ = cascade_get_method(decomp_method)

for i in range(R_NWP.shape[0]):
Expand Down

0 comments on commit e9059cb

Please sign in to comment.