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

add option to, or not, copy from /arcdata to local

parent b5543be6
No related branches found
No related tags found
No related merge requests found
......@@ -754,8 +754,6 @@ def get_images(lons, lats, timestamp, channel_list, half_width, step, do_norm=Fa
except Exception as exc:
print(exc)
return None, None, None, None
t1 = datetime.datetime.now().timestamp()
print((t1-t0)*1000)
bt_or_refl = None
if pug_l1b_c.bt_or_refl == 'bt':
......@@ -804,7 +802,6 @@ def get_images(lons, lats, timestamp, channel_list, half_width, step, do_norm=Fa
elif pug_l1b_r.bt_or_refl == 'refl':
bt_or_refl_r = pug_l1b_r.refl
t0 = datetime.datetime.now().timestamp()
if daynight != 'ANY':
if step[ch_idx] == 1:
if geoloc_2km is None:
......@@ -888,8 +885,6 @@ def get_images(lons, lats, timestamp, channel_list, half_width, step, do_norm=Fa
if TRIPLET or CONV3D:
subprocess.call(['rm', local_path_l])
subprocess.call(['rm', local_path_r])
t1 = datetime.datetime.now().timestamp()
print((t1-t0)*1000)
return np.array(data), np.array(data_l), np.array(data_r), np.array(idxs)
......
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