Skip to content
Snippets Groups Projects
Commit 7a666b03 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 7a0ebbbd
No related branches found
No related tags found
No related merge requests found
......@@ -43,20 +43,20 @@ def get_clavrx_datasource(timestamp):
return ds
# 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 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 get_grid_values(h5f, grid_name, j_c, i_c, half_width, scale_factor_name='scale_factor', add_offset_name='add_offset'):
......
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