Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Oct 8, 2024
1 parent 7d95510 commit dc315b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ush/blending_fv3.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def check_file_nans(test_nc, vars_fg, vars_bg, name):
return nans

def err_check(err):
"""
Check for error.
err: Error code.
"""
if err > 0:
print(f"An error ocurred in {sys.argv[0]}. Blending failed!!!")
print(f"err={err}")
Expand Down

0 comments on commit dc315b5

Please sign in to comment.