Skip to content

Commit

Permalink
Update arguments for derive_variables
Browse files Browse the repository at this point in the history
With the transition to the new `hist_str` format, some needed arguments to `derive_variables` in `lib/adf_diag.py` were missing, this PR will fix that.
  • Loading branch information
justin-richling committed Jul 1, 2024
1 parent 903789b commit 67ad4b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/adf_diag.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,8 @@ def call_ncrcat(cmd):

if vars_to_derive:
self.derive_variables(
res=res, vars_to_derive=vars_to_derive, ts_dir=ts_dir[case_idx]
res=res, hist_str=hist_str, vars_to_derive=vars_to_derive,
constit_dict=constit_dict, ts_dir=ts_dir[case_idx]
)
# End with
# End for hist_str
Expand Down

0 comments on commit 67ad4b1

Please sign in to comment.