-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Resolve more warnings in the xarray test suite #1964
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
Conversation
Currently down from 255 to 104 warnings.
Thanks. I have once tried to remove these warnings (mostly they are caused by my addition), but did not find a good way to do it. |
xarray/backends/rasterio_.py
Outdated
@@ -2,6 +2,7 @@ | |||
import warnings | |||
from collections import OrderedDict | |||
from distutils.version import LooseVersion | |||
import warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
F811 redefinition of unused 'warnings' from line 2
doc/whats-new.rst
Outdated
@@ -52,6 +52,8 @@ Bug fixes | |||
|
|||
- Fix the precision drop after indexing datetime64 arrays (:issue:`1932`). | |||
By `Keisuke Fujii <https://github.com/fujiisoup>`_. | |||
- Silenced irrelevant warnings issued by ``open_rasterio`` (:issue:`1964`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't only rasterio warning anymore, is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other warnings only show up in our test suite, not to users. I'm not sure it's worth mentioning them.
These have been getting a little out of hand.
Currently down from 255 to 104 warnings.
xref #1652