code: def netconvert_carla(xodr_file, output, guess_tls=False):
      """
      Generates sumo net.
  
          :param xodr_file: opendrive file (*.xodr)
          :param output: output file (*.net.xml)
          :param guess_tls: guess traffic lights at intersections.
          :returns: path to the generated sumo net.
      """
      try:
          tmpdir = tempfile.mkdtemp()
          _netconvert_carla_impl(xodr_file, output, tmpdir, guess_tls)
  
      finally:
          if os.path.exists(tmpdir):
              shutil.rmtree(tmpdir)
  
imports: import argparse
  import bisect
  import collections
  import logging
  import shutil
  import subprocess
  import tempfile
  import lxml.etree
  import glob
  import os
  import sys
  import carla
  import sumolib
label_desc: Use image node_id 3 for calling a global function with example usage: netconvert_carla(xodr_file, output, guess_tls) without return types