Skip to content
Snippets Groups Projects
Commit 47c759ba authored by Felix Kleinert's avatar Felix Kleinert
Browse files

move shapely import statement to __name__

parent 6d7703e2
Branches
Tags
1 merge request!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #64882 passed
...@@ -21,11 +21,6 @@ from mlair.data_handler import DefaultDataHandler ...@@ -21,11 +21,6 @@ from mlair.data_handler import DefaultDataHandler
from typing import Tuple, Union, Dict, List from typing import Tuple, Union, Dict, List
import logging import logging
# ToDo
# test imports for circle plots
import shapely
float_np_xr = Union[float, np.ndarray, xr.DataArray, xr.Dataset] float_np_xr = Union[float, np.ndarray, xr.DataArray, xr.Dataset]
int_or_list_of_int = Union[int, List[int]] int_or_list_of_int = Union[int, List[int]]
...@@ -787,6 +782,9 @@ if __name__ == '__main__': ...@@ -787,6 +782,9 @@ if __name__ == '__main__':
from shapely.geometry import Point, Polygon from shapely.geometry import Point, Polygon
import math import math
from cartopy.geodesic import Geodesic from cartopy.geodesic import Geodesic
# ToDo
# test imports for circle plots
import shapely
def plot_map_proj(data, xlim=None, ylim=None, filename=None, point=None, radius=None, **kwargs): def plot_map_proj(data, xlim=None, ylim=None, filename=None, point=None, radius=None, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment