Skip to content

Commit

Permalink
update derived variable login again
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzhuzhang committed Feb 14, 2024
1 parent 1b7cbb3 commit e3a7309
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e3sm_diags/driver/utils/dataset_xr.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,7 @@ def _get_climo_dataset(self, season: str) -> xr.Dataset:
filepath = self._get_climo_filepath(season)
ds = self._open_climo_dataset(filepath)

if self.var in self.derived_vars_map and (self.var,) in list(
self.derived_vars_map[self.var].keys()
):
if self.var in self.derived_vars_map:
ds = self._get_dataset_with_derived_climo_var(ds)
elif self.var in ds.data_vars.keys():
pass
Expand Down

0 comments on commit e3a7309

Please sign in to comment.