I cliped images based on gdalwarp in cmd, the code is as following:

gdalwarp -q -cutline G:\2016.06.MOD\MOD02\5Clip\Clip_Image_Shp\Clip_Image.shp 
-tr 1000.0 1000.0 -of GTiff 
G:\2016.06.MOD\MOD02\3Resample_1000m_ProjectionC\20160628_1905_reflectance_georef_Resample_ProjectionC.tif
 G:\2016.06.MOD\MOD02\5Clip\20160628_1905_Clip.tif -crop_to_cutline


Now, I want to clip images based on gdalwarp in Spyder, but I don't know 
how to change the code in Spyder? Could you give me some advice?

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to