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

minor

parent 15aa5056
No related branches found
No related tags found
No related merge requests found
......@@ -143,10 +143,6 @@ class CLAVRx_H08(Files):
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
......
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