code: def scencd(sc, sclkch, MXPART=None):
      
      sc = ctypes.c_int(sc)
      sclkch = stypes.stringToCharP(sclkch)
      sclkdp = ctypes.c_double()
      libspice.scencd_c(sc, sclkch, ctypes.byref(sclkdp))
      return sclkdp.value
docs: Encode character representation of spacecraft clock time into a
      double precision number.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/scencd_c.html
  
      :param sc: NAIF spacecraft identification code.
      :type sc: int
      :param sclkch: Character representation of a spacecraft clock.
      :type sclkch: str
      :param MXPART: Maximum number of spacecraft clock partitions.
      :type MXPART: int
      :return: Encoded representation of the clock count.
      :rtype: float