Skip to content

Commit

Permalink
Constrain parallel processing of inundation to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryPetrochenkov-NOAA committed Feb 12, 2025
1 parent 56ddafb commit 4a79f7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/probabilistic_inundation.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ def inundate_probabilistic(
)
df.to_csv(flow_file, index=False)

# Temporarily constrained to one run for lambda
produce_mosaicked_inundation(
hydrofabric_dir,
huc,
Expand All @@ -408,7 +409,7 @@ def inundate_probabilistic(
inundation_raster=final_inundation_path,
mask=mask_path,
verbose=True,
num_workers=num_jobs,
num_workers=1,
)

ds = rxr.open_rasterio(final_inundation_path)
Expand Down

0 comments on commit 4a79f7a

Please sign in to comment.