1

I tried to change the projection of AMSR-2 in Python using:

'gdalwarp -geoloc -t_srs EPSG:4326 C:\GW1AM2_201301311114_050A_L1SGBTBR_1110110.vrt C:\test100.tif'

It said there are something wrong with 'EPSG:4326'(Invalid syntax). I do not know why?

nmtoken
  • 13,355
  • 5
  • 38
  • 87
  • what do you get if you put a quote around the EPSG:4326 string like "EPSG:4326" – nmtoken Mar 25 '16 at 08:32
  • Would it depend what Python version you are using? 2) Assuming you are running the command in a command shell, and you typed Python in the shell to engage Python interpreter: I've ran into the syntax issue when executing a command while Python interpreter is engaged. I fix the issue when I open in the OSGeo4W.bat command shell and then run the command straight away, and not type Python first to engage Python. So maybe try that..?
  • – LHo Mar 26 '16 at 02:37