From 53aec093b6b7f68c951e58376549d871c6afe551 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 2 Dec 2020 20:46:07 -0600
Subject: [PATCH] snapshot...

---
 modules/aeolus/aeolus_amv.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index 96ac7c37..0842f98c 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -33,6 +33,11 @@ class AMVFiles:
             dto_start = dto
             dto_end = dto + datetime.timedelta(minutes=file_time_span)
             self.ftimes.append((dto_start.timestamp(), dto_end.timestamp()))
+        self.ftimes = np.array(self.ftimes)
+        self.flist = np.array(self.flist)
+        sidxs = np.argsort(self.ftimes[:, 0])
+        self.ftimes = self.ftimes[sidxs, :]
+        self.flist = self.flist[sidxs]
 
     def get_datetime(self, pathname):
         pass
-- 
GitLab