Skip to content
Snippets Groups Projects
Commit 4a783564 authored by Stefan Hendricks's avatar Stefan Hendricks
Browse files

use clear var names

parent c9bfbbc9
No related branches found
No related tags found
No related merge requests found
......@@ -686,11 +686,11 @@ class FloeNaviGrid(object):
self.basestations = None
self.basestation_dict = {}
def set_time_bounds(self, time_bounds, day_pad=True):
def set_time_bounds(self, dataset_time_bounds, day_pad=True):
"""
Specify the time bounds of the data set, which will trigger parsing the appropriate
basestation data.
:param time_bounds:
:param dataset_time_bounds:
:param day_pad:
:return:
"""
......@@ -698,7 +698,7 @@ class FloeNaviGrid(object):
# if day_pad is set to True: Extend the range of the floenavi grid
# by two padding days (if the setup allows)
# NOTE: This can improve the solution right at the start and end of an UTC day
time_bounds = list(time_bounds)
time_bounds = list(dataset_time_bounds)
if day_pad:
early_start_date = time_bounds[0] - timedelta(days=1)
if early_start_date >= self.setup.time_bounds[0]:
......
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