aboutsummaryrefslogtreecommitdiff
path: root/plotter
diff options
context:
space:
mode:
Diffstat (limited to 'plotter')
-rwxr-xr-xplotter/horizontal.py4
-rwxr-xr-xplotter/vertical_from_grib.py4
2 files changed, 2 insertions, 6 deletions
diff --git a/plotter/horizontal.py b/plotter/horizontal.py
index e83b683..fa5f9df 100755
--- a/plotter/horizontal.py
+++ b/plotter/horizontal.py
@@ -33,10 +33,8 @@ config = {
]
}
-def run(source, plots, output='.'):
+def run(data, plots, output='.'):
misc.create_output_dir(output)
- data = xr.load_dataset(source, engine='cfgrib')
-
index = []
for plot in plots:
diff --git a/plotter/vertical_from_grib.py b/plotter/vertical_from_grib.py
index 929782e..9f927a7 100755
--- a/plotter/vertical_from_grib.py
+++ b/plotter/vertical_from_grib.py
@@ -25,10 +25,8 @@ config = {
]
}
-def run(source, plots, output='.'):
+def run(data, plots, output='.'):
misc.create_output_dir(output)
- data = xr.load_dataset(source, engine='cfgrib')
-
index = []
for plot in plots: