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

snapshot...

parent 9e90b054
No related branches found
No related tags found
No related merge requests found
...@@ -609,9 +609,6 @@ def run_qc(filename, filename_l1b, outfile, outfile_l1b): ...@@ -609,9 +609,6 @@ def run_qc(filename, filename_l1b, outfile, outfile_l1b):
mask = apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask, bt_11um) mask = apply_qc_icing_pireps(icing_alt, cld_top_hgt, cld_phase, cld_opd, cld_mask, bt_11um)
f.close()
f_l1b.close()
bts = [] bts = []
phs = [] phs = []
opd = [] opd = []
...@@ -643,6 +640,7 @@ def run_qc(filename, filename_l1b, outfile, outfile_l1b): ...@@ -643,6 +640,7 @@ def run_qc(filename, filename_l1b, outfile, outfile_l1b):
data_dct = {} data_dct = {}
for didx, ds_name in enumerate(ds_list): for didx, ds_name in enumerate(ds_list):
data_dct[ds_name] = f[ds_name][keep_idxs,] data_dct[ds_name] = f[ds_name][keep_idxs,]
lon_c = f['longitude'][keep_idxs] lon_c = f['longitude'][keep_idxs]
lat_c = f['latitude'][keep_idxs] lat_c = f['latitude'][keep_idxs]
time_s = f['time'][keep_idxs] time_s = f['time'][keep_idxs]
...@@ -658,6 +656,9 @@ def run_qc(filename, filename_l1b, outfile, outfile_l1b): ...@@ -658,6 +656,9 @@ def run_qc(filename, filename_l1b, outfile, outfile_l1b):
create_file(outfile_l1b, data_dct, l1b_ds_list, l1b_ds_types, lon_c, lat_c, time_s, fl_alt_s, ice_int_s, unq_ids) create_file(outfile_l1b, data_dct, l1b_ds_list, l1b_ds_types, lon_c, lat_c, time_s, fl_alt_s, ice_int_s, unq_ids)
f.close()
f_l1b.close()
return mask return mask
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment