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

snapshot...

parent c2a4f147
No related branches found
No related tags found
No related merge requests found
......@@ -207,11 +207,23 @@ def pirep_icing_from_boeing(dirname='/ships19/cloud/scratch/ICING/BOEING/icing/2
if ice_bool[k] == 1:
tup = (lats[k], lons[k], flt_levs[k], 1, 0, 'None')
ice_dict[ts] = tup
rpts = ice_dict.get(ts)
if rpts is None:
rpts = []
rpts.append(tup)
ice_dict[ts] = rpts
else:
rpts.append(tup)
cnt_ice += 1
else:
tup = (lats[k], lons[k], flt_levs[k], 0, 0, 'None')
no_ice_dict[ts] = tup
rpts = no_ice_dict.get(ts)
if rpts is None:
rpts = []
rpts.append(tup)
no_ice_dict[ts] = rpts
else:
rpts.append(tup)
cnt_no_ice += 1
h5f.close()
......
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