Hasolak825

Project Raster Error

Discussion created by Hasolak825 on Jul 2, 2014
Latest reply on Jul 2, 2014 by iamurray
I'm trying to just do a simple project raster operation using Arcpy. This is a test of a small piece of a larger code. i keep getting the following error:

ExecuteError: ERROR 000622: Failed to execute (Project Raster). Parameters are not valid.
ERROR 000628: Cannot set input into parameter out_coor_system.

Personally, I have experience with Python but I'm still shaky on Arcpy syntax so i'm probably making a silly mistake somewhere.

Code is below:

import arcpy
from arcpy.sa import *

arcpy.env.overwriteOutput = True
arcpy.env.workspace = 'H:\FORMA_TEST'
arcpy.CheckOutExtension("Spatial")

in_coor = "Geographic Coordinate Systems/World/WGS 1984"
out_coor = "Projected Coordinate Systems/UTM/WGS 1984/Southern Hemisphere/WGS 1984 UTM Zone 18S"

arcpy.ProjectRaster_management("Hansen_0080.tif", "Hans_0080prj3.tif", out_coor,"","", "", "",in_coor)

Outcomes