From 59ab78d4073873d18dab0817c586e41a79f8f601 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 10 Dec 2021 09:31:13 -0600 Subject: [PATCH] snapshot... --- modules/aeolus/datasource.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 8ef11bda..281eb21d 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') -- GitLab