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

Clean up warnings coming from Iris in logs #1490

Open
lewisblake opened this issue Jan 23, 2025 · 0 comments
Open

Clean up warnings coming from Iris in logs #1490

lewisblake opened this issue Jan 23, 2025 · 0 comments
Labels
dependencies Issues related to pyaerocom dependencies
Milestone

Comments

@lewisblake
Copy link
Member

When running the obs-only experiment I noticed the logs are very populated with repeteive warnings from Iris:

 warnings.warn(message, category=FutureWarning)
/modules/rhel8/user-apps/fou-kl/aerotools/pya-v2025.01/lib/python3.12/site-packages/iris/fileformats/netcdf/saver.py:2668: IrisDeprecation: Saving to netcdf with legacy-style attribute handling for backwards compatibility.
This mode is deprecated since Iris 3.8, and will eventually be removed.
Please consider enabling the new split-attributes handling mode, by setting 'iris.FUTURE.save_split_attrs = True'.
  warn_deprecated(message)
/modules/rhel8/user-apps/fou-kl/aerotools/pya-v2025.01/lib/python3.12/site-packages/iris/common/mixin.py:195: FutureWarning: You are using legacy date precision for Iris units - max precision is seconds. In future, Iris will use microsecond precision - available since cf-units version 3.3 - which may affect core behaviour. To opt-in to the new behaviour, set `iris.FUTURE.date_microseconds = True`.
  warnings.warn(message, category=FutureWarning)

These issues should be addressed to reduce these warnings

@lewisblake lewisblake added the dependencies Issues related to pyaerocom dependencies label Jan 23, 2025
@lewisblake lewisblake added this to the m2025-02 milestone Jan 23, 2025
@lewisblake lewisblake modified the milestones: m2025-02, m2025-03 Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Issues related to pyaerocom dependencies
Projects
None yet
Development

No branches or pull requests

1 participant