Skip to content

Commit

Permalink
fix rate print
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLaserGit committed Jan 17, 2024
1 parent f8eec70 commit 162f4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forcingprocessor/src/forcingprocessor/forcingprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def write_data(
rate = ((j+1)*ntasked/t_accum)
bytes2bits = 8
bandwidth_Mbps = rate * file_size_MB * ntasked * bytes2bits
estimate_total_time = nfiles / rate
estimate_total_time = nfiles * ntasked / rate
report_usage()
msg = f"\n{(j+1)*ntasked} files written out of {nfiles*ntasked}\n"
msg += f"rate {rate:.2f} files/s\n"
Expand Down

0 comments on commit 162f4e3

Please sign in to comment.