Skip to content

Commit 4c3f86f

Browse files
committed
Removed perf_counter
1 parent fa082ab commit 4c3f86f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

python/extpar_art_to_buffer.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import logging
33
import netCDF4 as nc
44
import numpy as np
5-
from time import perf_counter
65

76
from joblib import Parallel, delayed, dump, load
87
from tqdm import tqdm
@@ -226,11 +225,8 @@ def get_fraction_per_soil_type(soil_id):
226225
logging.info("")
227226
logging.info("============= Calculate LU Fraction for target grid ========")
228227
logging.info("")
229-
start = perf_counter()
230228
fracs = calculate_soil_fraction(tg, soil_types, neighbor_ids, ncpu=2)
231-
end = perf_counter()
232229

233-
print("Elapsed time:", end - start)
234230
#--------------------------------------------------------------------------
235231
#--------------------------------------------------------------------------
236232
logging.info('')

0 commit comments

Comments
 (0)