diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py index 130fbcb911896a1edc53a753b63bc2bc1908010d..d83f4c8a67bd4e8d0acd3a56d24257b0b3797c9e 100644 --- a/modules/amv/caliop_clavrx_amv.py +++ b/modules/amv/caliop_clavrx_amv.py @@ -133,11 +133,10 @@ def match_calipso_clavrx_to_amvs(calipso_clavrx_ds, calipso_clavrx_file, amv_fil temp_prof = temp_prof.values temp_prof_s = temp_prof[0, :, :] #temp_prof_s = temp_prof_s[:, ::-1] - print(temp_prof_s.shape) for k in range(num_amvs): alt = pressure_to_altitude(param_nd[4, k], None, gfs_press, temp_prof_s[k, :]) - print(alt) + print(param_nd[4, k], alt) return match_dict @@ -318,7 +317,7 @@ 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 not match_dict: + if match_dict is None or not match_dict: print('No matches for: ', f) continue