Skip to content
Snippets Groups Projects
Commit 96ce16a2 authored by tomrink's avatar tomrink
Browse files

improve get_bounding_goes16_files

parent 407b6572
No related branches found
No related tags found
No related merge requests found
...@@ -493,7 +493,7 @@ def get_bounding_goes16_files(timestamp, ch_str, file_time_span=5): ...@@ -493,7 +493,7 @@ def get_bounding_goes16_files(timestamp, ch_str, file_time_span=5):
farr = farr[sidxs] farr = farr[sidxs]
ftimes = tarr[sidxs] ftimes = tarr[sidxs]
ftimes_n = ftimes + (dt_obj + datetime.timedelta(minutes=file_time_span)).timestamp() ftimes_n = ftimes + file_time_span * 60
iC = -1 iC = -1
for k, t in enumerate(ftimes): for k, t in enumerate(ftimes):
if t <= timestamp < ftimes_n[k]: if t <= timestamp < ftimes_n[k]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment