code: def fcd2dri(inpFCD, outSTRM, ignored):
      
      # print >> outSTRM, "v1\n<t>,<v>,<grad>,<n>\n[s],[km/h],[%],[1/min]\n"
      print("v1\n<t>,<v>,<grad>\n[s],[km/h],[%]", file=outSTRM)
      for q in inpFCD:
          if q.vehicle:
              for v in q.vehicle:
                  percSlope = math.sin(float(v.slope)) * 100.
                  print("%s,%.3f,%s" % (
                      sumolib._intTime(q.time), float(v.speed) * 3.6, percSlope), file=outSTRM)
docs: Reformats the contents of the given fcd-output file into a .dri file, readable
      by PHEM. The fcd-output "fcd" must be a valid file name of an fcd-output.
  
      The following may be a matter of changes:
      - the engine torque is not given