Skip to content
Snippets Groups Projects
Commit 09d433f8 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 6c5349f9
Branches
No related tags found
No related merge requests found
......@@ -524,6 +524,7 @@ def get_bounding_goes16_files(timestamp, ch_str):
def get_bounding_gfs_files(timestamp):
dt_obj, time_tup = get_time_tuple_utc(timestamp)
dt_obj = dt_obj + datetime.timedelta(hours=12)
date_str = dt_obj.strftime(gfs_date_format)
dt_obj0 = datetime.datetime.strptime(date_str, gfs_date_format).replace(tzinfo=timezone.utc)
dt_obj1 = dt_obj0 + datetime.timedelta(days=1)
......@@ -541,6 +542,7 @@ def get_bounding_gfs_files(timestamp):
toks = fname.split('.')
tstr = toks[1].split('_')[0]
dto = datetime.datetime.strptime(tstr, gfs_date_format+'%H').replace(tzinfo=timezone.utc)
dto = dto + datetime.timedelta(hours=12)
ftimes.append(dto.timestamp())
tarr = np.array(ftimes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment