Skip to content

Commit

Permalink
reduce number of warnings in gridded matchups
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjwilson committed Jun 13, 2024
1 parent 1b0c6be commit 399af81
Show file tree
Hide file tree
Showing 2 changed files with 344 additions and 328 deletions.
11 changes: 11 additions & 0 deletions ecoval/fixers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ def ignore_warning(x):
True if the warning should be ignored
False if the warning should not be ignored
"""
if "Adding a time series with the same number of time steps" in x:
return True
# did not have valid years
if "did not have valid years" in x:
return True
if "There is only file in the dataset. No need to merge" in x:
return True
if "time bounds unsupporte" in x:
return True
if "deflate" in x:
return True
if "None of the points are contained" in x:
return True
if "0 as the fill value" in x:
Expand Down
Loading

0 comments on commit 399af81

Please sign in to comment.