Skip to content

Commit 7a59e50

Browse files
committed
Pass OMP num threads to computation of soil fraction
1 parent 6cf7dbb commit 7a59e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/extpar_art_to_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def get_fraction_per_soil_type(soil_id):
215215
logging.info("============= Calculate LU Fraction for target grid ========")
216216
logging.info("")
217217

218-
fracs = calculate_soil_fraction(tg, soil_types, neighbor_ids, ncpu=13)
218+
fracs = calculate_soil_fraction(tg, soil_types, neighbor_ids, ncpu=omp)
219219

220220
#--------------------------------------------------------------------------
221221
#--------------------------------------------------------------------------

0 commit comments

Comments
 (0)