From 93ae8f9fe2d0ff1121913a99a96609007ae50cf3 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 6 Jun 2023 14:46:21 -0500 Subject: [PATCH] snapshot... --- modules/aeolus/datasource.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 88914468..f6182625 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -139,8 +139,10 @@ class Files: def __next__(self): if self._current_index < len(self.flist): fname = self.flist[self._current_index] + t_start = self.ftimes[self._current_index, 0] + t_stop = self.ftimes[self._current_index, 1] self._current_index += 1 - return fname + return fname, t_start, t_stop self._current_index = 0 raise StopIteration -- GitLab