From 03265e194eb6f440ff1eabf195a011cb9a8cb884 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 3 Sep 2021 11:18:06 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index 725c47a5..1540d34d 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -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 -- GitLab