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

snaphot...

parent 2d461e8f
Branches
No related tags found
No related merge requests found
......@@ -137,6 +137,8 @@ def match_calipso_clavrx_to_amvs(calipso_clavrx_ds, calipso_clavrx_file, amv_fil
temp_prof_s = temp_prof_s[:, ::-1]
for k in range(num_amvs):
print(param_s[4, k])
print(temp_prof_s[k, :])
alt = pressure_to_altitude(param_s[4, k], None, gfs_press, temp_prof_s[k, :])
print(alt)
......@@ -319,7 +321,8 @@ def run_caliop_clavrx_amv_match(output_path, path_to_caliop_clavrx, path_to_amvs
for f in caliop_clavrx_ds.flist:
match_dict = match_calipso_clavrx_to_amvs(caliop_clavrx_ds, f, amv_ds, caliop_clavrx_params, gfs_ds)
if match_dict is None:
if not match_dict:
print('No matches for: ', f)
continue
create_file(match_dict, output_path, f, caliop_clavrx_params, amv_params, amv_filenames)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment