Hi there<div><br></div><div>I'm doing a Python script, based on r.in.aster, to import a set of images but, I'm not sure for that is used the following:</div><div> grass.debug("gdalwarp -t_srs %s %s %s" % (proj, srcfile, tempfile))</div>
<div>WHat is the point of using grass.debug if I do the following after this:</div><div><div>if platform.system() == "Darwin":</div><div> cmd = ["arch", "-i386", "gdalwarp", "-t_srs", proj, srcfile, tempfile ]</div>
<div> else:</div><div> cmd = ["gdalwarp", "-t_srs", proj, srcfile, tempfile ]</div><div> p = grass.call(cmd)</div><div> if p != 0:</div><div> #check to see if gdalwarp executed properly</div>
<div> return</div></div><div><br></div><div><br></div><div>Thanks</div><div><br>Luisa</div>