Skip to content

Commit 4ed64d0

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

climada/hazard/trop_cyclone.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ def _set_frequency(self, tracks):
127127
self.frequency = np.ones(self.event_id.size) / delta_time / ens_size
128128

129129
@staticmethod
130+
@jit
130131
def _tc_from_track(track, centroids, coastal_centr, model='H08'):
131132
""" Set hazard from input file. If centroids are not provided, they are
132133
read from the same file.

0 commit comments

Comments
 (0)