diff --git a/modules/aeolus/datasource.py b/modules/aeolus/datasource.py index 1263fdc33c20ad0f9798cf11d2ba2af8d5d00c80..c512ffb6780f00615770de7a8de118295257b3e9 100644 --- a/modules/aeolus/datasource.py +++ b/modules/aeolus/datasource.py @@ -143,8 +143,9 @@ class CLAVRx_VIIRS(Files): def get_datetime(self, pathname): filename = os.path.split(pathname)[1] toks = filename.split('.') - so = re.search('\\d{11}', toks[4]) - dt_str = so.group() + # so = re.search('\\d{11}', toks[4]) + # dt_str = so.group() + dt_str = toks[1] + toks[2] dto = datetime.datetime.strptime(dt_str, '%Y%j%H%M').replace(tzinfo=timezone.utc) return dto