Skip to content

Commit b80e9cc

Browse files
committed
add jit numba
1 parent 4bfdbb0 commit b80e9cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

climada/hazard/tc_tracks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import pandas as pd
3535
import xarray as xr
3636
from sklearn.neighbors import DistanceMetric
37+
from numba import jit
3738
from pint import UnitRegistry
3839
from pathos.multiprocessing import ProcessingPool as Pool
3940

@@ -266,6 +267,7 @@ def plot(self, title=None):
266267
return fig, axis
267268

268269
@staticmethod
270+
@jit
269271
def _one_rnd_walk(track, ens_size, ens_amp0, ens_amp, max_angle):
270272
""" Interpolate values of one track.
271273

0 commit comments

Comments
 (0)