I have sent this email a couple of days ago with no reply. Can anyone help me?<div>Luisa<br><br><div class="gmail_quote">2010/9/23 Luisa Peña <span dir="ltr"><<a href="mailto:luisapena1979@gmail.com">luisapena1979@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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><font color="#888888">Luisa</font></div>
</blockquote></div><br></div>