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

Use iris.FUTURE.save_split_attrs = True to remove iris warning in many diagnostics #3651

Merged
merged 2 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions esmvaltool/diag_scripts/shared/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

logger = logging.getLogger(__name__)

iris.FUTURE.save_split_attrs = True


def get_plot_filename(basename, cfg):
"""Get a valid path for saving a diagnostic plot.
Expand Down
2 changes: 2 additions & 0 deletions esmvaltool/diag_scripts/shared/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
'short_name',
]

iris.FUTURE.save_split_attrs = True


def _has_necessary_attributes(metadata,
only_var_attrs=False,
Expand Down