From 80ab76f2fb7dd22546d65e95ba903dfae77f49e4 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 5 Oct 2022 14:30:38 -0500
Subject: [PATCH] snapshot...

---
 modules/aeolus/datasource.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py
index 410ee217..c936fbcd 100644
--- a/modules/aeolus/datasource.py
+++ b/modules/aeolus/datasource.py
@@ -488,7 +488,7 @@ class OPS(AMVFiles):
         return dto
 
 
-class NOAA_txt(AMVFiles):
+class AMV_Intercompare(AMVFiles):
     def __init__(self, files_path, file_time_span, band='14'):
         elem_name = None
         line_name = None
@@ -496,7 +496,6 @@ class NOAA_txt(AMVFiles):
         lat_name = 'lat'
         press_name = 'PW'
 
-        # params = ['pressure', 'wind_speed', 'wind_direction']
         params = ['BOX','SRCH','SPD','DIR','PW','LLCM','SPDG','DIRG','TBALB','MAXC','TRKM','PERR','HAMD','QINF','QIWF','QIC']
         out_params = ['Lon', 'Lat', 'Element', 'Line'] + params
         meta_dict = {'Lon': ('degrees east', 'f4'), 'Lat': ('degrees north', 'f4'), 'Element': (None, 'i4'), 'Line': (None, 'i4'),
@@ -555,8 +554,8 @@ class CarrStereo(AMVFiles):
 def get_datasource(files_path, source, file_time_span=10, band='14'):
     if source == 'OPS':
         return OPS(files_path, file_time_span, band=band)
-    elif source == 'NOAA_TXT':
-        return NOAA_txt(files_path, file_time_span, band=band)
+    elif source == 'AMV_TXT':
+        return AMV_Intercompare(files_path, file_time_span, band=band)
     elif source == 'FMWK':
         return Framework(files_path, file_time_span, band=band)
     elif source == 'CARR':
-- 
GitLab