def getInputPointFCFromXY(x, y):
        inPoint = arcpy.Point(x, y)
        inWGS84Point = arcpy.PointGeometry(inPoint)
        sr = arcpy.SpatialReference(4326) #GCS_WGS_1984?
        inWGS84Point.spatial_reference = sr
        # create an in_memory feature class to initially contain the input point
        fc = arcpy.CreateFeatureclass_management("in_memory", "tempfc", "POINT",
                                                 None, "DISABLED", "DISABLED",
                                                 sr)[0]
        # open and insert cursor
        with arcpy.da.InsertCursor(fc, ["SHAPE@"]) as cursor:
            cursor.insertRow([inWGS84Point])
        # create a featureset object and load the fc
        inputFeatureSet = arcpy.FeatureSet()
        inputFeatureSet.load(fc)
        return fc
returns UTM projected point from X and Y coords (longitude, latitude) in WGS 84
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/utils/test/capability_tests/ERGTestUtils.py/getInputPointFCFromXY