[gdal-dev] Problems with Python/subprocess.call/gdalwarp

Fri Jan 17 06:56:30 PST 2014

I am trying to use a subprocess.call method in python to use 'gdalwarp'
on a .img file. So far everything that I've put in my script runs
fine...but the gdalwarp. There is no error...so I assume I am somehow
not understanding the gdalwarp statement as well as I thought I might.


Anybody see what I am missing (or can direct me to a strong reference
regarding gdalwarp)?



Enclosing full code in .txt. 





       subprocess.call('gdalwarp %s %s -t_srs "+proj=lcc
+lat_1=42.68333333333333 +lat_2=41.71666666666667 +lat_0=41 +lon_0=-71.5
+x_0=200000 +y_0=750000 +ellps=GRS80 +datum=NAD83 +units=m +no_defs"'
%(raster, 'new_'+raster))


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140117/d8c847a2/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdalwarp.txt
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140117/d8c847a2/attachment.txt>

More information about the gdal-dev mailing list