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

Address warnings #516

Merged
merged 17 commits into from
Jan 23, 2025
Merged

Address warnings #516

merged 17 commits into from
Jan 23, 2025

Conversation

Zeitsperre
Copy link
Contributor

@Zeitsperre Zeitsperre commented Jan 22, 2025

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
  • (If applicable) Documentation has been added / updated (for bug fixes / features).
  • (If applicable) Tests have been added.
  • This PR does not seem to break the templates.
  • CHANGELOG.rst has been updated (with summary of main changes).
    • Link to issue (:issue:number) and pull request (:pull:number) has been added.

What kind of change does this PR introduce?

  • Addresses ~950 low-effort warnings:
    • 730 emitted from xscen.adjust (RankWarning: Polyfit may be poorly conditioned)

Does this PR introduce a breaking change?

No.

Other information:

Many warnings are coming from deprecated usages in intake-esm. It would be worthwhile to see what can be done to address them from there.

src/xscen/catalog.py Outdated Show resolved Hide resolved
@Zeitsperre Zeitsperre requested a review from RondeauG January 22, 2025 19:40
src/xscen/catalog.py Outdated Show resolved Hide resolved
@Zeitsperre
Copy link
Contributor Author

Warnings are now below 800 in total, with the majority (600+) stemming from intake-esm. This is good enough for the time being, IMO.

@Zeitsperre Zeitsperre self-assigned this Jan 23, 2025
@Zeitsperre Zeitsperre merged commit 1577095 into main Jan 23, 2025
16 checks passed
@Zeitsperre Zeitsperre deleted the address-warnings branch January 23, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants