Skip to content
Snippets Groups Projects
Commit 231ef1ef authored by tomrink's avatar tomrink
Browse files

minor

parent ef5f3fad
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,27 @@ class CLAVRx(Files):
return GEOSNavigation(sub_lon=-75.0, CFAC=5.6E-05, COFF=-0.101332, LFAC=-5.6E-05, LOFF=0.128212, num_elems=2500, num_lines=1500)
class CLAVRx_H08(Files):
def __init__(self, files_path):
super().__init__(files_path, 10, 'clavrx_H08*.level2.nc')
self.params = get_parameters_clavrx()
def get_datetime(self, pathname):
filename = os.path.split(pathname)[1]
so = re.search('_s\\d{11}', filename)
dt_str = so.group()
dto = datetime.datetime.strptime(dt_str, '_s%Y%j%H%M').replace(tzinfo=timezone.utc)
dto = datetime.datetime.strptime(filename, 'clavrx_H08_%Y%m%d_%H%M_B01_FLDK_R.level2.nc').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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment