diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 42c915928d1cfb5bca8ae974b4d1aa869ca132b3..7b2a987e381d6935ef05de66a55fa77b807804bf 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -183,6 +183,24 @@ class CLAVRx_H08(Files): return None +class CLAVRx_H09(Files): + def __init__(self, files_path, pattern='clavrx_H09*.level2.nc'): + super().__init__(files_path, 10, pattern) + self.params = get_parameters_clavrx() + + def get_datetime(self, pathname): + filename = os.path.split(pathname)[1] + dt_str = filename[11:24] + dto = datetime.datetime.strptime(dt_str, '%Y%m%d_%H%M').replace(tzinfo=timezone.utc) + return dto + + def get_parameters(self): + return self.params + + def get_navigation(self, h5f): + return None + + class CLAVRx_CALIPSO(Files): def __init__(self, files_path, pattern='*_06kmCLay.matchup.calipso.h5'): super().__init__(files_path, 10, pattern)