Skip to content

Commit

Permalink
Fix bctide writer
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Jun 2, 2023
1 parent e01510b commit 4a8ee35
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pyschism/forcing/bctides/bctides.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,13 @@ def write_sal3D():
from multiprocessing import Process

jobs = [
Process(target=f)
for f in (write_elev2D, write_uv3D, write_tem3D, write_sal3D)
Process(target=fn)
for fn, fl in (
(write_elev2D, elev2D),
(write_uv3D, uv3D),
(write_tem3D, tem3D),
(write_sal3D, sal3D)
) if fl
]
for job in jobs:
job.start()
Expand Down

0 comments on commit 4a8ee35

Please sign in to comment.