From fb0bd1bc4bd9d3b4d25f8e230c00c94fd540f00d Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 9 Jun 2021 11:34:14 -0500 Subject: [PATCH] minor --- modules/aeolus/aeolus_amv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index 6bd6319e..188446ce 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -21,6 +21,7 @@ half_width = 50 # search box centered on AEOLUS profile (FGF coordinates) num_elems = 5424 num_lines = 5424 +clavrx_params = None def get_amvs(amv_ds, timestamp, filepath=None): if filepath is None: @@ -1488,7 +1489,6 @@ def get_cloud_layers_dict_s(aeolus_files_dir, lon360=False): def match_aeolus_to_clavrx(aeolus_dict, clvrx_files): nav = get_navigation() - clvrx_params = get_parameters_clavrx() match_dict = {} keys = list(aeolus_dict.keys()) @@ -1538,7 +1538,7 @@ def match_aeolus_to_clavrx(aeolus_dict, clvrx_files): return match_dict -def create_file_2(match_dct, filename, clvrx_params=['cld_height_acha', 'cld_press_acha', 'cld_temp_acha']): +def create_file_2(match_dct, filename, clvrx_params=clavrx_params): grd_x_len = 9 grd_y_len = 9 num_aparams = 7 @@ -2079,4 +2079,4 @@ def get_parameters_clavrx(filename='/home/rink/data/clavrx/clavrx_OR_ABI-L1b-Rad return var_names_2d - +clavrx_params = get_parameters_clavrx() -- GitLab