We are clipping one raster to another and our teacher gave us this hint for the 2nd parameter "Remember that the Describe function returns an object. The Clip tool will need the string representation of the extent property" - I know I need a string of the extent. Everything that I have tried has given me:
ERROR 000628: Cannot set input into parameter rectangle.
Here is what I have so far
import arcpy
arcpy.env.workspace = "C:/Student/Newark.gdb"
desc = arcpy.Describe("C:/Student/Newark.gdb/studyarea")
clip = str(desc.extent)
Coord = clip.strip(" NaN")
inRaster = "C:/Student/Newark.gdb/Newark"
outRaster = "C:/Student/Newark.gdb/NewarkClip.jpg"
arcpy.Clip_management("inRaster","Coord,"outRaster","studyarea","","NONE","")