Skip to content

Commit

Permalink
logging instead of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RondeauG committed Apr 12, 2024
1 parent ef8008c commit c824a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Bug fixes
* `creep_weights` now correctly handles the case where the grid is small, `n` is large, and `mode=wrap`. (:issue:`367`).
* Fixed a bug in ``tasmin_from_dtr`` and ``tasmax_from_dtr``, when `dtr` units differed from tasmin/max. (:pull:`372`).
* Fixed a bug where the requested chunking would be ignored when saving a dataset (:pull:`379`).
* The missing value check in ``health_checks`` will no longer crasg if a variable has no time dimension. (:pull:`382`).

v0.8.3 (2024-02-28)
-------------------
Expand Down
3 changes: 1 addition & 2 deletions xscen/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,8 @@ def _message():
"missing",
)
else:
warnings.warn(
logger.info(
f"Variable '{v}' has no time dimension. The missing data check will be skipped.",
UserWarning,
)

if flags is not None:
Expand Down

0 comments on commit c824a91

Please sign in to comment.