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

snapshot...

parent 2ecd37a9
Branches
No related tags found
No related merge requests found
......@@ -120,13 +120,13 @@ def extract(mask_image, image_ts, clavrx_path):
all_list.append((press_level, press, lat, lon, temp_value, rh_value, horz_shear_value, static_value, horz_wind_spd_value, vert_shear_value))
# Create pandas DataFrame for each list of tuples in voxel_dict
voxel_dict_df = {}
levels_dict_df = {}
for k, v in levels_dict.items():
print('pressure level, number of contrail points: ', k, len(v))
df = pd.DataFrame(v,
columns=["pressure", "lat", "lon", "temperature", "relative_humidity",
"horz_shear_deform", "static_stability", "horz_wind_speed", "vert_wind_shear"])
voxel_dict_df[k] = df
levels_dict_df[k] = df
# Create a DataFrame for all tuples
all_df = pd.DataFrame(all_list,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment