Skip to content

Commit

Permalink
Update create_climo_files.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-richling committed Feb 14, 2025
1 parent aa644be commit 91ed2c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/averaging/create_climo_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,12 @@ def create_climo_files(adf, clobber=False, search=None):
# Parallelize the computation using multiprocessing pool:
with mp.Pool(processes=number_of_cpu) as p:
result = p.starmap(process_variable, list_of_arguments)
else:


# Parallelize the computation using multiprocessing pool:
with mp.Pool(processes=number_of_cpu) as p:
result = p.starmap(process_variable, list_of_arguments)
## Parallelize the computation using multiprocessing pool:
#with mp.Pool(processes=number_of_cpu) as p:
# result = p.starmap(process_variable, list_of_arguments)

#End of model case loop
#----------------------
Expand Down

0 comments on commit 91ed2c8

Please sign in to comment.