Skip to content
Snippets Groups Projects
Commit 9f57a4c3 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent de91b886
Branches
No related tags found
No related merge requests found
...@@ -330,7 +330,7 @@ def run(pirep_dct, platform, outfile=None, outfile_l1b=None, dt_str_start=None, ...@@ -330,7 +330,7 @@ def run(pirep_dct, platform, outfile=None, outfile_l1b=None, dt_str_start=None,
last_h5f.close() last_h5f.close()
last_h5f = h5f last_h5f = h5f
last_clvr_file = clvr_file last_clvr_file = clvr_file
print(get_time_tuple_utc(time)) print(datetime.datetime.fromtimestamp(time))
else: else:
h5f = last_h5f h5f = last_h5f
...@@ -344,7 +344,6 @@ def run(pirep_dct, platform, outfile=None, outfile_l1b=None, dt_str_start=None, ...@@ -344,7 +344,6 @@ def run(pirep_dct, platform, outfile=None, outfile_l1b=None, dt_str_start=None,
cc_a, ll_a = nav.earth_to_lc_s(lon_s, lat_s) # non-navigable, skip cc_a, ll_a = nav.earth_to_lc_s(lon_s, lat_s) # non-navigable, skip
if cc_a[0] < 0 or ll_a[0] < 0: if cc_a[0] < 0 or ll_a[0] < 0:
print('Navigation problem: ', lon, lat)
continue continue
if skip and (cc_a[0] == cc and ll_a[0] == ll): # time adjacent duplicate, skip if skip and (cc_a[0] == cc and ll_a[0] == ll): # time adjacent duplicate, skip
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment