I have a python script in ArcGIS 10.1 which takes in a few inputs from the user.  One of the inputs is a coordinate system.  I would like to test whether the coordinate system the user chose was projected or geographic.  

A sample of the code is:


    input1 = arcpy.GetParameterAsText(0)
    input2 = arcpy.GetParameterAsText(1)
    coordsys = arcpy.GetParameterAsText(2)

    desc1 = arcpy.Describe(input1)
    desc2 = arcpy.Describe(input2)
    descCoordSys = arcpy.Describe(coordsys)

The code runs fine until the last line.  

I have forced the user to enter a coordinate system in the third line:
![enter image description here][1]

What am I missing here?


  [1]: https://i.sstatic.net/Tj56S.jpg