Skip to content

Commit

Permalink
bugfix on parser
Browse files Browse the repository at this point in the history
  • Loading branch information
yingkaisha committed Dec 8, 2024
1 parent 75c4930 commit 829525f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion credit/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,8 @@ def training_data_check(conf, print_summary=False):
N_level_model = conf["model"]["levels"]

assert (N_level_mean == N_level_model), (
"number of upper air levels mismatched between model config {} and input data {}".format(N_level_model, N_level_mean)
"number of upper air levels mismatched between model config {} and input data {}".format(
N_level_model, N_level_mean))

if print_summary:
print("Coordinate checking passed")
Expand Down

0 comments on commit 829525f

Please sign in to comment.