From 8cd3db96e5a38e3834a5100137b22a62ea3cbbc9 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 2 Sep 2021 10:17:29 -0500 Subject: [PATCH] snapshot... --- modules/icing/pirep_goes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/icing/pirep_goes.py b/modules/icing/pirep_goes.py index d1a45c30..e816e04f 100644 --- a/modules/icing/pirep_goes.py +++ b/modules/icing/pirep_goes.py @@ -218,12 +218,13 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end dto.replace(tzinfo=timezone.utc) t_end = dto.timestamp() - nav = GEOSNavigation(sub_lon=-75.0, CFAC=5.6E-05, COFF=-0.101332, LFAC=-5.6E-05, LOFF=0.128212, num_elems=2500, num_lines=1500) + #nav = GEOSNavigation(sub_lon=-75.0, CFAC=5.6E-05, COFF=-0.101332, LFAC=-5.6E-05, LOFF=0.128212, num_elems=2500, num_lines=1500) lon_s = np.zeros(1) lat_s = np.zeros(1) last_clvr_file = None last_h5f = None + nav = None lon_c = [] lat_c = [] @@ -251,6 +252,7 @@ def run(pirep_dct, outfile=None, outfile_l1b=None, dt_str_start=None, dt_str_end if clvr_file != last_clvr_file: try: h5f = h5py.File(clvr_file, 'r') + nav = clvr_ds.get_navigation(h5f) except Exception: if h5f is not None: h5f.close() -- GitLab