Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for CMIP6 AWI-ESM-1-1-LR parent time units #2507

Merged
2 changes: 1 addition & 1 deletion esmvalcore/cmor/_fixes/cmip6/awi_esm_1_1_lr.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ def fix_metadata(self, cubes):
if cube.attributes[parent_units] == bad_value:
cube.attributes[parent_units] = 'days since 0001-01-01 ' \
+ '00:00:00'
except AttributeError:
except (AttributeError, KeyError):
pass
return cubes