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

snapshot...

parent 7418e98f
No related branches found
No related tags found
No related merge requests found
...@@ -551,10 +551,10 @@ def create_file(filename, aeolus_to_amv_dct, aeolus_dct, amv_files, cld_lyr=Fals ...@@ -551,10 +551,10 @@ def create_file(filename, aeolus_to_amv_dct, aeolus_dct, amv_files, cld_lyr=Fals
# outfile: pathname for the Netcdf match file # outfile: pathname for the Netcdf match file
def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=None, amv_source='OPS', band='14', chan='mie'): def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=None, amv_source='OPS', band='14', chan='mie'):
a_d = get_aeolus_time_dict_s(aeolus_files_dir, chan=chan) a_d = get_aeolus_time_dict_s(aeolus_files_dir, chan=chan)
# a_d = time_dict_to_nd(a_d) a_d = time_dict_to_nd(a_d)
#---------------------------------- #----------------------------------
a_d = time_dict_to_cld_layers(a_d) #a_d = time_dict_to_cld_layers(a_d)
a_d = time_dict_to_nd_2(a_d) #a_d = time_dict_to_nd_2(a_d)
amv_files = None amv_files = None
if amv_source == 'CARR': if amv_source == 'CARR':
...@@ -565,7 +565,7 @@ def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=Non ...@@ -565,7 +565,7 @@ def create_amv_to_aeolus_match_file(aeolus_files_dir, amv_files_dir, outfile=Non
if outfile is not None: if outfile is not None:
cld_lyr = False cld_lyr = False
if chan == 'mie': if chan == 'mie':
cld_lyr = True cld_lyr = False
create_file(outfile, m_d, a_d, amv_files, cld_lyr=cld_lyr) create_file(outfile, m_d, a_d, amv_files, cld_lyr=cld_lyr)
......
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