Skip to content

Commit

Permalink
scale back processes
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLaserGit committed Feb 15, 2024
1 parent 940ff09 commit 62ae39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forcingprocessor/src/forcingprocessor/weights_parq2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_weight_json(catchments,jproc,version=None):
catchments = gpd.read_file(args.geopackage, layer='divides')
catchment_list = sorted(list(catchments['divide_id']))

nprocs = os.cpu_count() - 2
nprocs = os.cpu_count() // 2
catchment_list_list = []
ncatchments = len(catchment_list)
nper = ncatchments // nprocs
Expand Down

0 comments on commit 62ae39b

Please sign in to comment.