Guest User

Untitled

a guest
Jan 19th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. for in, out in zip(input, output):
  2.  
  3. input_str = ''.join(in)
  4. print input_str
  5. output_str = ''.join(out)
  6. print output_str
  7.  
  8.  
  9. gdal_calc = 'python gdal_calc.py --format GTiff -A '+input_str+' --outfile='+output_str+' --calc="10*log10(A) " --NoDataValue=0 --type=Int16'
  10. os.system(gdal_calc)
Add Comment
Please, Sign In to add comment