From 45c6337e0d21a3d7e0e842d88faba8e7f98157fc Mon Sep 17 00:00:00 2001
From: Anne Philipp <anne.philipp@univie.ac.at>
Date: Thu, 29 Nov 2018 23:53:03 +0100
Subject: [PATCH] bug fix naming missmatch

---
 source/python/mods/get_mars_data.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/python/mods/get_mars_data.py b/source/python/mods/get_mars_data.py
index b7c92a1..5bdb6ef 100755
--- a/source/python/mods/get_mars_data.py
+++ b/source/python/mods/get_mars_data.py
@@ -151,11 +151,11 @@ def get_mars_data(c):
         remove_old('*grb')
 
     # --------------  flux data ------------------------------------------------
-    start, end, chunk = mk_dates(c, fluxes=True)
+    start, end, datechunk = mk_dates(c, fluxes=True)
     do_retrievement(c, server, start, end, datechunk, fluxes=True)
 
     # --------------  non flux data --------------------------------------------
-    start, end, chunk = mk_dates(c, fluxes=False)
+    start, end, datechunk = mk_dates(c, fluxes=False)
     do_retrievement(c, server, start, end, datechunk, fluxes=False)
 
     return
-- 
GitLab