call iric_geo_polygon_close_f(pid, ier)
ier = iRIC_Geo_Polygon_Close(pid);
This function does not exists for Python.