Skip to content

Warnings (expansion of closed issued #145) #189

Description

@Eleanor-Dean

Issue #145 stated:
fix these warnings:
FutureWarning: In a future version of xarray the default value for coords will change from coords='different' to coords='minimal'. This is likely to lead to different results when multiple datasets have matching variables with overlapping values. To opt in to new defaults and get rid of these warnings now useset_options(use_new_combine_kwarg_defaults=True) or set coords explicitly.
`
rasied from pycpt_convert.py:455, compute_scores_func.py

Now there are more warnings with subsequent expansions of the code.
The function in util.py sends all warnings to logs now in an attempt to keep terminal clear to read.
However this means that the warnings are easily forgotten about.
Need a plan to have warnings be specifically checked every month or so - thoughts so far:

  • write them into pytest
  • write them into chore updates

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions