Commit 0bcf6441 authored by Lozac'h Loic's avatar Lozac'h Loic

debug

parent 9b41eb2b
......@@ -374,14 +374,16 @@ def get_model4invertion():
result=None
with open(modelchoice) as mc:
for line in mc:
print(line)
sline = line.split(";")
dline = os.path.basename(sline[0]).split("_")[4].split("T")[0]
if dline == sardate :
result=sline[2][:-1]
return result
if result == None:
print("Error : Can't find date in modelchoice file for sar :"+os.path.basename(sarvv))
exit()
def short_pipeline(intersectionEnv):
global slopevalue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment