From 47836c84116292e4727bf13a3ad9754e7b7718b2 Mon Sep 17 00:00:00 2001 From: justin-richling <56696811+justin-richling@users.noreply.github.com> Date: Tue, 18 Feb 2025 11:02:51 -0700 Subject: [PATCH] Update adf_dataset.py --- lib/adf_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/adf_dataset.py b/lib/adf_dataset.py index 02eda2622..1ac9af10c 100644 --- a/lib/adf_dataset.py +++ b/lib/adf_dataset.py @@ -198,7 +198,7 @@ def load_reference_timeseries_da(self, field, syr, eyr): def get_climo_file(self, case, variablename): """Retrieve the climo file path(s) for variablename for a specific case.""" #a = self.adf.get_cam_info("cam_climo_loc", required=True) # list of paths (could be multiple cases) - climo_locs = self.adf.climo_locs.test + climo_locs = self.adf.climo_locs["test"] caseindex = (self.case_names).index(case) # the entry for specified case model_cl_loc = Path(climo_locs[caseindex]) return sorted(model_cl_loc.glob(f"{case}_{variablename}_climo.nc"))