From 437bd8d1a97072286fc6dda238758b2b60166846 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 30 Mar 2022 12:57:40 -0500 Subject: [PATCH] snapshot... --- modules/aeolus/aeolus_amv.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py index 9b2a2b30..2f2a1503 100644 --- a/modules/aeolus/aeolus_amv.py +++ b/modules/aeolus/aeolus_amv.py @@ -546,6 +546,7 @@ def run_best_fit(raob_to_amv_dct, raob_dct, gfs_at_raob_dct): return out_dct + def analyze2(amvs, bfs, raob_match, bfs_gfs, amv_prod): good_amvs = amvs @@ -2014,7 +2015,7 @@ def create_file(filename, aeolus_to_amv_dct, aeolus_dct, amv_files, cld_lyr=Fals rootgrp.close() -def create_file_new2(filename, match_dct, raob_dct, gfs_at_raob_dct, amv_params, bf_dct, prd_dct, raob_filename, amv_file_name): +def create_file_new2(filename, match_dct, raob_dct, gfs_at_raob_dct, bf_dct, amv_params, prd_dct, raob_filename, amv_file_name): num_aparams = 4 max_num_alevels = 0 max_num_amvs = 0 @@ -2065,15 +2066,15 @@ def create_file_new2(filename, match_dct, raob_dct, gfs_at_raob_dct, amv_params, dim_num_aeolus_prof = rootgrp.createDimension('num_raob_profs', size=num_aprofs) #dim_num_files = rootgrp.createDimension('num_amv_files', size=amv_file_s.shape[0]) - prf_time = rootgrp.createVariable('time', 'f4', ['num_aeolus_profs']) - amv_file_names = rootgrp.createVariable('amv_file_names', str, ['num_amv_files']) + #prf_time = rootgrp.createVariable('time', 'f4', ['num_aeolus_profs']) + #amv_file_names = rootgrp.createVariable('amv_file_names', str, ['num_amv_files']) # ---- Profile variables --------------- prf_lon = rootgrp.createVariable('prof_longitude', 'f4', ['num_raob_profs']) prf_lon.units = 'degrees east' prf_lat = rootgrp.createVariable('prof_latitude', 'f4', ['num_raob_profs']) prf_lat.units = 'degrees north' - prf_time.units = 'seconds since 1970-01-1 00:00:00' + #prf_time.units = 'seconds since 1970-01-1 00:00:00' #prf_elem = rootgrp.createVariable('FD_elem', 'f4', ['num_raob_profs']) #prf_line = rootgrp.createVariable('FD_line', 'f4', ['num_raob_profs']) -- GitLab