From 67ad4b10807cd7ab1dd8545b12af4e6acac43eea Mon Sep 17 00:00:00 2001 From: justin-richling Date: Mon, 1 Jul 2024 10:19:06 -0600 Subject: [PATCH] Update arguments for derive_variables 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. --- lib/adf_diag.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/adf_diag.py b/lib/adf_diag.py index 5024df6fb..aa6f1ef08 100644 --- a/lib/adf_diag.py +++ b/lib/adf_diag.py @@ -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