code: def proj4_to_wkt(projection):
      
  
      srs = osgeo.osr.SpatialReference()
      srs.ImportFromProj4(projection.srs)
  
      return srs.ExportToWkt()
docs: Converts a pyproj.Proj object to a well-known text string