Commit 209f8dad authored by mickael's avatar mickael

renforce code to skip no date found in filename

parent cb60724e
......@@ -76,6 +76,8 @@ def getoutputlines(inputfile,outputbase,source):
m ='-(\d{8})t(\d{6})',inputfile)
if m is None:
return linelist
mydate = datetime.datetime.strptime(,'%Y%m%d')
year = str(mydate.year).zfill(4)
doy = str(mydate.timetuple().tm_yday).zfill(3)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment