diff --git a/src/preprocessor.py b/src/preprocessor.py index 3f5dde3f4..6ea914061 100644 --- a/src/preprocessor.py +++ b/src/preprocessor.py @@ -562,9 +562,8 @@ def edit_request(self, v: varlist_util.VarlistEntry, **kwargs): for var_dict in new_tv_dict.values(): if var_dict['ndim'] == 4: new_tv_name = var_dict['name'] - time_coord = [c for c in tv.scalar_coords if c.axis == 'T'][0] new_tv = tv.remove_scalar( - time_coord.axis, + 'Z', name=new_tv_name )