From 93ccf348605b61fedd84e2c46dc49729a8e70099 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 28 Jul 2022 12:47:55 -0500
Subject: [PATCH] minor...

---
 modules/aeolus/aeolus_amv.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/aeolus/aeolus_amv.py b/modules/aeolus/aeolus_amv.py
index b527c2aa..abd2142c 100644
--- a/modules/aeolus/aeolus_amv.py
+++ b/modules/aeolus/aeolus_amv.py
@@ -2031,7 +2031,7 @@ def create_file(filename, aeolus_to_amv_dct, aeolus_dct, amv_files, cld_lyr=Fals
     rootgrp.close()
 
 
-def create_bestfit_file(filename, match_dct, raob_dct, raob_ts, gfs_at_raob_dct, bf_dct, prd_dct, amv_params, raob_filename, amv_file_name):
+def create_bestfit_file(output_filename, match_dct, raob_dct, raob_ts, gfs_at_raob_dct, bf_dct, prd_dct, amv_params, raob_filename, amv_file_name):
     num_aparams = 4
     max_num_alevels = 0
     max_num_amvs = 0
@@ -2073,7 +2073,7 @@ def create_bestfit_file(filename, match_dct, raob_dct, raob_ts, gfs_at_raob_dct,
     rg_exmpl = Dataset('/ships19/cloud/scratch/AMV_FAST_BIAS/OPS_AMVS/OR_ABI-L2-DMWF-M6C14_G16_s20201050000166_e20201050009474_c20201050023226.nc', 'r')
 
     # the top level group for the output file
-    rootgrp = Dataset(filename, 'w', format='NETCDF4')
+    rootgrp = Dataset(output_filename, 'w', format='NETCDF4')
 
     rootgrp.createDimension('num_raob_params', size=num_aparams)
     rootgrp.createDimension('max_num_raob_levels', size=max_num_alevels)
-- 
GitLab