Skip to content
Snippets Groups Projects
Commit 94dd4f6f authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Move import commands to the script part

The corresponding modules are not used in the functions.
parent e5a695d7
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,7 @@ import shapefile
import numpy as np
from cartopy.mpl import geoaxes
import cartopy.crs as ccrs
from os import path
from matplotlib import patches
import f90nml
import sys
import util_eddies
def select_ishapes(d: int, SHPC: util_eddies.SHPC_class, i_slice: int,
......@@ -159,6 +156,9 @@ def plot_grid_points(grid_nml, window, ax, src_crs):
if __name__ == "__main__":
import matplotlib.pyplot as plt
import argparse
import f90nml
from os import path
import sys
parser = argparse.ArgumentParser()
parser.add_argument("-d", "--date", type = int, help = "date index")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment