forked from Unidata/MetPy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT: Change some top-level imports to function-level (Fixes Unidata#1901
) This avoids importing metpy.calc and metpy.plots in the metar parsing code, which improves import times for code that's only doing unrelated I/O, as well as eliminates a warning when CartoPy is not installed. The wx_code_map and wx_code_to_numeric function should eventually be moved to metar.py, but that's an API change.
- Loading branch information
1 parent
f56bdd2
commit acd279b
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters