Skip to content

Commit

Permalink
Update adf_dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-richling authored Feb 18, 2025
1 parent a4f2e48 commit 47836c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adf_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 47836c8

Please sign in to comment.