diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index b1c8e17d8e679643d3efbfadf5d904cfbd50ae2a..665076d57be577c32e6ac6627e78001af3a7c63a 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -10,7 +10,7 @@ from util.util import GenericException class AMVFiles: def __init__(self, files_path, file_time_span, pattern, band='14', elem_name=None, line_name=None, lat_name=None, - lon_name=None, params=None, out_params=None, meta_dict=None): + lon_name=None, params=None, out_params=None, meta_dict=None, qc_params=None): self.flist = glob.glob(files_path + pattern) if len(self.flist) == 0: @@ -41,6 +41,7 @@ class AMVFiles: if out_params is not None: self.out_params = out_params self.meta_dict = meta_dict + self.qc_params = qc_params def get_datetime(self, pathname): pass @@ -76,6 +77,9 @@ class AMVFiles: def get_meta_dict(self): return self.meta_dict + def filter(self): + pass + class Framework(AMVFiles): def __init__(self, files_path, file_time_span, band='14'):