Skip to content
Snippets Groups Projects
Commit 03265e19 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent a94cb137
Branches
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ import xarray as xr
goes_date_format = '%Y%j%H'
goes16_directory = '/arcdata/goes/grb/goes16' # /year/date/abi/L1b/RadC
clavrx_dir = '/ships19/cloud/scratch/ICING/'
# clavrx_dir = '/apollo/cloud/scratch/Satellite_Output/NASA-SNPP_VIIRS/global/2019_DNB_for_Rink_wDBfix/level2_h5/'
clavrx_viirs_dir = '/apollo/cloud/scratch/Satellite_Output/NASA-SNPP_VIIRS/global/2019_DNB_for_Rink_wDBfix/level2_h5/'
dir_fmt = '%Y_%m_%d_%j'
# dir_list = [f.path for f in os.scandir('.') if f.is_dir()]
ds_dct = {}
......@@ -96,7 +96,7 @@ def get_clavrx_datasource_viirs(timestamp):
date_dir_str = dt_obj.strftime('%j')
ds = ds_dct.get(date_dir_str)
if ds is None:
ds = CLAVRx_VIIRS(clavrx_dir + date_dir_str + '/')
ds = CLAVRx_VIIRS(clavrx_viirs_dir + date_dir_str + '/')
ds_dct[date_dir_str] = ds
return ds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment