From 436a3d3eaebcca11d8da6d8b1bb4f6f543e135e4 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 18 Oct 2023 23:55:21 +0200 Subject: implemented aggreator --- plotter/horizontal.py | 4 +--- plotter/vertical_from_grib.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'plotter') 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: -- cgit v1.2.3