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

Prevent warning repeats #5506

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
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
Prev Previous commit
fix tests
  • Loading branch information
stephenworsley committed Feb 12, 2024
commit 7e8871e3346fabea2f479ff8bbc0fdcdf3aad14e
2 changes: 1 addition & 1 deletion lib/iris/fileformats/netcdf/saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2813,7 +2813,7 @@ def attr_values_equal(val1, val2):
}
if invalid_globals:
# Some cubes have different global attributes: modify cubes as required.
warnings.warn(
warn_once_at_level(
f"Saving the cube global attributes {sorted(invalid_globals)} as local "
"(i.e. data-variable) attributes, where possible, since they are not "
"the same on all input cubes.",
Expand Down
Loading