From 0ba1dbdab61c9678d1bd9f30bda9845c406b35a5 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 7 Jun 2021 10:59:05 -0500 Subject: [PATCH] minor --- modules/aeolus/datasource.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 4f51c2d4..74c72b7f 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -77,8 +77,8 @@ class CLAVRx(Files): class RAOBfiles(Files): - def __init__(self, files_path): - super().__init__(files_path, 10, 'raob_soundings*.cdf') + def __init__(self, files_path, file_time_span=10): + super().__init__(files_path, file_time_span, 'raob_soundings*.cdf') def get_datetime(self, pathname): filename = os.path.split(pathname)[1] @@ -371,6 +371,6 @@ def get_datasource(files_path, source, file_time_span=10, band='14'): elif source == 'GFS': return GFSfiles(files_path) elif source == 'RAOB': - return RAOBfiles(files_path) + return RAOBfiles(files_path, file_time_span) else: raise GenericException('Unknown data source type') \ No newline at end of file -- GitLab