Skip to content
Snippets Groups Projects
Commit 2eddb563 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 8d5c9267
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,20 @@ def pirep_icing(filename, lon_range=[-180, 180], lat_range=[-55, 55]): ...@@ -109,6 +109,20 @@ def pirep_icing(filename, lon_range=[-180, 180], lat_range=[-55, 55]):
return ice_dict, no_ice_dict return ice_dict, no_ice_dict
def get_goes_datasource(timestamp):
dt_obj, time_tup = get_time_tuple_utc(timestamp)
yr_dir = str(dt_obj.timetuple().tm_year)
date_dir = dt_obj.strftime(dir_fmt)
yr_date = yr_dir+date_dir
files_path = goes16_directory + '/' + yr_dir + '/' + date_dir + '/abi' + '/L1b' + '/RadC/'
print(files_path)
ds = goes_ds_dct.get(yr_date)
if ds is None:
ds = GOESL1B(files_path)
goes_ds_dct[yr_date] = ds
return ds
def analyze(ice_dct, no_ice_dct): def analyze(ice_dct, no_ice_dct):
ice_times = np.array(list(ice_dct.keys())) ice_times = np.array(list(ice_dct.keys()))
......
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