diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 8ef11bdae659a8e4fd622766625bfb56b08f4a56..281eb21dc67cccfdd012023e08532e9cf86166e8 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -157,6 +157,24 @@ class CLAVRx_H08(Files): return None +class CLAVRx_CALIPSO(Files): + def __init__(self, files_path): + super().__init__(files_path, 10, '*_06kmCLay.matchup.calipso.h5') + self.params = ['cld_opd_acha', 'cld_reff_acha', 'cld_temp_acha', 'cld_press_acha', 'cld_height_acha'] + # self.params = get_parameters_clavrx() + + def get_datetime(self, pathname): + filename = os.path.split(pathname)[1] + dto = datetime.datetime.strptime(filename, 'g16_s%Y%j%H%M_06kmCLay.matchup.calipso.h5').replace(tzinfo=timezone.utc) + return dto + + def get_parameters(self): + return self.params + + def get_navigation(self, h5f): + return None + + class CLAVRx_VIIRS(Files): def __init__(self, files_path): super().__init__(files_path, 5, 'clavrx*viirs*level2.h5')