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

UDPATE: incidence locale

parent 0a0b12e5
......@@ -1030,7 +1030,13 @@ if __name__ == "__main__":
sarth = os.path.join(sard , "incidenceAngleFromEllipsoid.img")
else:
sarvv = sard
sarth = sard[:-6]+"THETA.TIF"
sarbase = os.path.dirname(sarvv)
if os.path.exists(os.path.join(sarbase,"auxfiles")) :
auxdir = os.path.join(sarbase,"auxfiles")
thfname = os.path.basename(sard).replace("_VV.TIF","_THETALOC.TIF")
sarth = os.path.join(auxdir,thfname)
else:
sarth = sard[:-6]+"THETA.TIF"
if args.outformat == "raster":
output = os.path.join(args.outdir, "MV_"+sarsplit[0]+"_"+args.zone+"_"+sarsplit[4]+".TIF")
......
This diff is collapsed.
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