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

minor

parent e00f1241
Branches
No related tags found
No related merge requests found
...@@ -77,8 +77,8 @@ class CLAVRx(Files): ...@@ -77,8 +77,8 @@ class CLAVRx(Files):
class RAOBfiles(Files): class RAOBfiles(Files):
def __init__(self, files_path): def __init__(self, files_path, file_time_span=10):
super().__init__(files_path, 10, 'raob_soundings*.cdf') super().__init__(files_path, file_time_span, 'raob_soundings*.cdf')
def get_datetime(self, pathname): def get_datetime(self, pathname):
filename = os.path.split(pathname)[1] filename = os.path.split(pathname)[1]
...@@ -371,6 +371,6 @@ def get_datasource(files_path, source, file_time_span=10, band='14'): ...@@ -371,6 +371,6 @@ def get_datasource(files_path, source, file_time_span=10, band='14'):
elif source == 'GFS': elif source == 'GFS':
return GFSfiles(files_path) return GFSfiles(files_path)
elif source == 'RAOB': elif source == 'RAOB':
return RAOBfiles(files_path) return RAOBfiles(files_path, file_time_span)
else: else:
raise GenericException('Unknown data source type') raise GenericException('Unknown data source type')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment