You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've always noticed that when writing scripts dependent on xclim.indices, unless we explicitly import indices we'll get IDE warnings:
This is of course only a warning (I imagine that xclim.indices is implicitly imported via the indicators or Python allows for importing modules that are otherwise not listed within __init__.py).
What I'm wondering is if there is any reason not to import indices on import of xclim.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Setup Information
Context
I've always noticed that when writing scripts dependent on
xclim.indices
, unless we explicitly importindices
we'll get IDE warnings:This is of course only a warning (I imagine that
xclim.indices
is implicitly imported via the indicators or Python allows for importing modules that are otherwise not listed within__init__.py
).What I'm wondering is if there is any reason not to import indices on import of
xclim
.Code of Conduct
The text was updated successfully, but these errors were encountered: