Commit b099da19 authored by Lozac'h Loic's avatar Lozac'h Loic

debug

parent 81ecec12
...@@ -205,9 +205,9 @@ def download_gpm(sarlist, sartype, gpmdir): ...@@ -205,9 +205,9 @@ def download_gpm(sarlist, sartype, gpmdir):
gpmtifm1 = sar3dates[1][:4] +"/"+ sar3dates[1][4:6] +"/"+ sar3dates[1][6:8] +"/gis/"+ "3B-DAY-GIS.MS.MRG.3IMERG."+sar3dates[1]+"-S000000-E235959*.t*" gpmtifm1 = sar3dates[1][:4] +"/"+ sar3dates[1][4:6] +"/"+ sar3dates[1][6:8] +"/gis/"+ "3B-DAY-GIS.MS.MRG.3IMERG."+sar3dates[1]+"-S000000-E235959*.t*"
gpmtifm2 = sar3dates[2][:4] +"/"+ sar3dates[2][4:6] +"/"+ sar3dates[2][6:8] +"/gis/"+ "3B-DAY-GIS.MS.MRG.3IMERG."+sar3dates[2]+"-S000000-E235959*.t*" gpmtifm2 = sar3dates[2][:4] +"/"+ sar3dates[2][4:6] +"/"+ sar3dates[2][6:8] +"/gis/"+ "3B-DAY-GIS.MS.MRG.3IMERG."+sar3dates[2]+"-S000000-E235959*.t*"
cmdlist=[] cmdlist=[]
cmdlist.append(cmd + gpmtif) cmdlist.append([arg0,arg1,arg2,arg3 + gpmtif])
cmdlist.append(cmd + gpmtifm1) cmdlist.append([arg0,arg1,arg2,arg3 + gpmtifm1])
cmdlist.append(cmd + gpmtifm2) cmdlist.append([arg0,arg1,arg2,arg3 + gpmtifm2])
for c in cmdlist: for c in cmdlist:
p = Popen(c, cwd=gpmdir, stdout=PIPE) p = Popen(c, cwd=gpmdir, stdout=PIPE)
......
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